parent
64c18f134e
commit
35a077bff1
19
rc.local
19
rc.local
|
@ -1,7 +1,5 @@
|
||||||
#!/bin/bash -x
|
#!/bin/bash -x
|
||||||
|
|
||||||
# mount /home/internal-mmc
|
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo
|
echo
|
||||||
echo STARTING PINEBOOK IMAGING IN 5 SECONDS
|
echo STARTING PINEBOOK IMAGING IN 5 SECONDS
|
||||||
|
@ -13,19 +11,8 @@ echo
|
||||||
echo CONTROL-C TO STOP
|
echo CONTROL-C TO STOP
|
||||||
echo
|
echo
|
||||||
|
|
||||||
nohup /root/connect-to-wifi &
|
sleep 5
|
||||||
touch /tmp/wit-installer-testing
|
|
||||||
|
|
||||||
exit
|
/root/go/bin/connect-to-wifi
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
|
touch /tmp/wit-installer-finished
|
||||||
|
|
Loading…
Reference in New Issue