latest for testing

This commit is contained in:
2019-10-04 06:57:35 -07:00
parent 5273235554
commit 3e7cba20ce
3 changed files with 8 additions and 11 deletions

View File

@@ -4,8 +4,10 @@ if [ ! -d /boot/root.overlay ]; then
logger -s -t rc.local.txt cant find root overlay in /boot
else
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
ln -s /etc/systemd/system/raspberrypi-initial-setup.service \
/etc/systemd/system/multi-user.target.wants/raspberrypi-initial-setup.service
# we only need to run once
rm -rf /boot/rc.local.txt /boot/root.overlay
fi
reboot