setup/clone/utility/sats-loop

19 lines
425 B
Plaintext
Raw Normal View History

#!/bin/sh
2017-01-26 12:50:56 +00:00
# [0] Exit if no argument
test $# -lt 1 && exit;
# [1] Propagate script to DAEMON
2017-01-26 12:50:56 +00:00
if [ "$1" = "daemon" ]; then
/bin/bash /home/sats/satsd/source/daemon 2>> /home/sats/satsd/log/daemon.log >> /home/sats/satsd/log/daemon.log;
2017-01-26 12:50:56 +00:00
# [2] Propagate script to UPDATE
2017-01-26 12:50:56 +00:00
elif [ "$1" = "update" ]; then
/bin/bash /home/sats/satsd/source/update 2>> /home/sats/satsd/log/update.log >> /home/sats/satsd/log/update.log;
2017-01-26 12:50:56 +00:00
fi;