[scripts] mkloopcard: add local.d script for setting up openrc at first boot

This commit is contained in:
Fabio Erculiani
2012-02-01 11:36:53 +01:00
parent c7efe90982
commit 48b9252b28
2 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#!/bin/sh
# The first boot is actually a reboot, to let openrc realize that
# clock is screwed. This fixes xdm startup.
echo
echo "Hello, this is the first boot. System is being configured"
echo "A reboot will happen shortly. Thanks"
echo
rc-update --update
# kill myself
rm -f /etc/local.d/00-board-setup.start