almost working
This commit is contained in:
10
fix-raspian-defaults/rc.local.txt
Normal file
10
fix-raspian-defaults/rc.local.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh # can't assume bash yet
|
||||
|
||||
if [ ! -d /boot/root ]; then
|
||||
logger -s -t rc.local.txt cant find root overlay in /boot
|
||||
else
|
||||
rsync -avP /boot/root/ / && \
|
||||
rm -rf /boot/root /boot/rc.local.txt # we only need to run once
|
||||
fi
|
||||
|
||||
reboot
|
||||
Reference in New Issue
Block a user