2012-11-25 | Paul Boddie | file changeset files shortlog | Added a copy of the Wiki page describing this work. |
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 |