setup/clone/utility/sats-update

10 lines
241 B
Plaintext
Raw Permalink Normal View History

#!/bin/sh
2017-05-08 17:04:30 +00:00
# [0] Check installed first
if [ ! -e /target/sync ]; then
exit 1;
fi;
# [1] Propagate script to UPDATE
sudo -u sats /bin/bash /home/sats/satsd/source/update | sudo -u sats tee -a /home/sats/satsd/log/update.log > /dev/null;