different xbian user inotifywait command xbian_vstream.sh
This commit is contained in:
parent
9a1f329506
commit
2f0c46bb63
|
@ -90,8 +90,8 @@ fi
|
|||
|
||||
if [[ ! $isinotifywaitRunning ]]; then
|
||||
mkdir -p /home/$YOU/astroport
|
||||
[[ $YOU == "xbian" ]] && /usr/bin/inotifywait -r -e close_write -m /home/$YOU/astroport | while read dir flags file; do $MY_PATH/zen/xbian_vstream.sh "$dir" "$file"; done & \
|
||||
|| /usr/bin/inotifywait -r -e close_write -m /home/$YOU/astroport | while read dir flags file; do $MY_PATH/zen/mint_youtube.sh "$dir" "$file"; done &
|
||||
[[ $YOU == "xbian" ]] && /usr/bin/inotifywait -r -e close_write -m /home/$YOU/astroport | while read dir flags file; do $MY_PATH/zen/xbian_vstream.sh "$dir" "$file"; done &
|
||||
[[ $YOU != "xbian" ]] && /usr/bin/inotifywait -r -e close_write -m /home/$YOU/astroport | while read dir flags file; do $MY_PATH/zen/mint_youtube.sh "$dir" "$file"; done &
|
||||
fi
|
||||
|
||||
# restart inotifywait (may be useless)
|
||||
|
|
Loading…
Reference in New Issue