$USER becomes $YOU
This commit is contained in:
parent
27a419bc1b
commit
a02fc8241b
|
@ -97,7 +97,7 @@ fi
|
||||||
#
|
#
|
||||||
# ON Rpi/xbian files added in ~/astroport are monitored to activate "new_file_in_astroport.sh"
|
# ON Rpi/xbian files added in ~/astroport are monitored to activate "new_file_in_astroport.sh"
|
||||||
# Transfert ~/astroport/*/files to IPFS and make Astroport/KODI indexes in IPNS
|
# Transfert ~/astroport/*/files to IPFS and make Astroport/KODI indexes in IPNS
|
||||||
if [[ "$USER" == "xbian" ]]; then
|
if [[ "$YOU" == "xbian" ]]; then
|
||||||
[[ ! -e /home/$YOU/astroport ]] && mkdir -p /home/$YOU/astroport
|
[[ ! -e /home/$YOU/astroport ]] && mkdir -p /home/$YOU/astroport
|
||||||
# VERIFY LAUNCH inotifywait ?!
|
# VERIFY LAUNCH inotifywait ?!
|
||||||
inotifywaitRunning=$(ps auxf --sort=+utime | grep -w inotifywait | grep -w astroport | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d ' ' -f 1)
|
inotifywaitRunning=$(ps auxf --sort=+utime | grep -w inotifywait | grep -w astroport | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d ' ' -f 1)
|
||||||
|
|
Loading…
Reference in New Issue