bare rc.local

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-04-08 18:32:31 -07:00
parent 64c18f134e
commit 35a077bff1
1 changed files with 3 additions and 16 deletions

View File

@ -1,7 +1,5 @@
#!/bin/bash -x
# mount /home/internal-mmc
echo
echo
echo STARTING PINEBOOK IMAGING IN 5 SECONDS
@ -13,19 +11,8 @@ echo
echo CONTROL-C TO STOP
echo
nohup /root/connect-to-wifi &
touch /tmp/wit-installer-testing
sleep 5
exit
echo STARTING IMAGING PROCESS!!!!!!!!!!!!
echo
rm -rf /root/pinebook-image
cd /root
git clone https://git.wit.com/wit/pinebook-image.git
echo
echo Launching script from git repository
cp /root/pinebook-image/rc.local /root/
/root/pinebook-image/run.sh
/root/go/bin/connect-to-wifi
touch /tmp/wit-installer-finished