parent
64c18f134e
commit
35a077bff1
19
rc.local
19
rc.local
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue