latest for testing
This commit is contained in:
parent
5273235554
commit
3e7cba20ce
@ -4,8 +4,10 @@ if [ ! -d /boot/root.overlay ]; then
|
|||||||
logger -s -t rc.local.txt cant find root overlay in /boot
|
logger -s -t rc.local.txt cant find root overlay in /boot
|
||||||
else
|
else
|
||||||
rsync -avP /boot/root.overlay/ /
|
rsync -avP /boot/root.overlay/ /
|
||||||
rm -rf /boot/rc.local.txt # we only need to run once
|
ln -s /etc/systemd/system/raspberrypi-initial-setup.service \
|
||||||
#FIXME also remove /boot/root.overlay dir when working
|
/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
|
fi
|
||||||
|
|
||||||
reboot
|
reboot
|
||||||
|
@ -1,10 +1,5 @@
|
|||||||
# KEYBOARD CONFIGURATION FILE
|
# # KEYBOARD CONFIGURATION FILE
|
||||||
|
|
||||||
# Consult the keyboard(5) manual page.
|
# Consult the keyboard(5) manual page.
|
||||||
|
|
||||||
XKBMODEL="pc105"
|
# blank
|
||||||
XKBLAYOUT="us"
|
|
||||||
XKBVARIANT=""
|
|
||||||
XKBOPTIONS=""
|
|
||||||
|
|
||||||
BACKSPACE="guess"
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
|
|
||||||
# Run every per-once script
|
# Run every per-once script
|
||||||
run-parts --regex '.*\.sh$' /boot/per-once.d |
|
run-parts --regex '.*\.sh$' /boot/per-once.d | logger -s -t run-per-once
|
||||||
|
|
||||||
# Rename every per-once script
|
# Rename every per-once script
|
||||||
for f in /boot/per-once.d/*.sh; do
|
for f in /boot/per-once.d/*.sh; do
|
||||||
@ -12,4 +12,4 @@ for f in /boot/per-once.d/*.sh; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Run every per-boot script
|
# Run every per-boot script
|
||||||
run-parts --regex '.*\.sh$' /boot/per-boot.d
|
run-parts --regex '.*\.sh$' /boot/per-boot.d | logger -s -t run-per-boot
|
||||||
|
Loading…
Reference in New Issue
Block a user