forked from axiom-team/astrXbian
different xbian user inotifywait command xbian_vstream.sh
This commit is contained in:
parent
edbb123fa8
commit
9a1f329506
|
@ -90,7 +90,8 @@ fi
|
||||||
|
|
||||||
if [[ ! $isinotifywaitRunning ]]; then
|
if [[ ! $isinotifywaitRunning ]]; then
|
||||||
mkdir -p /home/$YOU/astroport
|
mkdir -p /home/$YOU/astroport
|
||||||
/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 & \
|
||||||
|
|| /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
|
fi
|
||||||
|
|
||||||
# restart inotifywait (may be useless)
|
# restart inotifywait (may be useless)
|
||||||
|
|
Loading…
Reference in New Issue