setup/clone/utility/booting_script

16 lines
306 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
git clone ssh://smmp-server/satsd /mnt/home/sats/satsd/source \
&& rm /home/sats/satsd/first_install \
|| exit;
fi
# [2] Propagate script
sh /home/sats/satsd/source/boot $*;