qi-emdebian

Annotated preinit

7:1ab568f9521e
2013-07-29 Paul Boddie Added details of locales, swap partitions, and setting the clock and time zone. Fixed the hostname in the login prompt.
paul@0 1
#!/usr/lib/busybox/sh
paul@0 2
paul@0 3
sh -c "clear" > /dev/tty1
paul@0 4
paul@0 5
/etc/preinit-config 2>&1 | tee /boot/preinit.log > /dev/tty1
paul@0 6
paul@0 7
# Now replace this file with a symbolic link.
paul@0 8
paul@0 9
mv /etc/preinit /etc/preinit.done
paul@0 10
ln -s /sbin/init /etc/preinit
paul@0 11
paul@0 12
exec /sbin/init