setup/clone/utility/booting_script

16 lines
302 B
Plaintext
Raw Normal View History

2017-01-24 17:29:16 +00:00
#!/bin/sh
# [1] first install (install source code)
if [ -e /home/sats/satsd/first_install ]; then
# install source code
2017-01-24 18:10:44 +00:00
git clone ssh://smmp-server/satsd /home/sats/satsd/source \
2017-01-24 17:29:16 +00:00
&& rm /home/sats/satsd/first_install \
|| exit;
fi
# [2] Propagate script
sh /home/sats/satsd/source/boot $*;