almost working

This commit is contained in:
2019-10-04 06:41:13 -07:00
parent bad920ab58
commit 0c72b2c372
7 changed files with 48 additions and 38 deletions

View 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