testing more

This commit is contained in:
2019-10-04 06:46:23 -07:00
parent 0c72b2c372
commit 5273235554
14 changed files with 8 additions and 7 deletions

View File

@@ -1,10 +1,11 @@
#!/bin/sh # can't assume bash yet
if [ ! -d /boot/root ]; then
if [ ! -d /boot/root.overlay ]; 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
rsync -avP /boot/root.overlay/ /
rm -rf /boot/rc.local.txt # we only need to run once
#FIXME also remove /boot/root.overlay dir when working
fi
reboot