[Fixed] used /bin/bash instead of /bin/sh in update boot (sats-loop) script
This commit is contained in:
parent
f5e28e535d
commit
d99744307b
|
@ -7,12 +7,12 @@ test $# -lt 1 && exit;
|
|||
if [ "$1" = "daemon" ]; then
|
||||
|
||||
|
||||
sh /home/sats/satsd/source/daemon 2>> /home/sats/satsd/log/daemon.log >> /home/sats/satsd/log/daemon.log;
|
||||
/bin/bash /home/sats/satsd/source/daemon 2>> /home/sats/satsd/log/daemon.log >> /home/sats/satsd/log/daemon.log;
|
||||
|
||||
# [2] Propagate script to UPDATE
|
||||
elif [ "$1" = "update" ]; then
|
||||
|
||||
sh /home/sats/satsd/source/update 2>> /home/sats/satsd/log/update.log >> /home/sats/satsd/log/update.log;
|
||||
/bin/bash /home/sats/satsd/source/update 2>> /home/sats/satsd/log/update.log >> /home/sats/satsd/log/update.log;
|
||||
|
||||
fi;
|
||||
|
||||
|
|
Loading…
Reference in New Issue