Bump coreboot revision for Tyan s2895.
[buildrom.git] / buildrom-devel / skeleton / linuxrc
blobe4a3523f3a0ca23c0300bd465e165e44794755fd
1 #!/bin/sh
3 /sbin/makedevs /dev < device.txt > /output.makedevs.txt 2>&1
5 . /bin/boot.functions
7 boot_default() {
8 sh /bin/boot-hdd
11 mkdir /proc
12 mount -t proc proc /proc
14 # For debug purposes
15 mount -t usbfs usbfs /proc/bus/usb
17 # Show the version
18 cat /buildrom-version > /dev/tty$VT
20 message "Press enter to start the busybox shell (pausing %%LAB_PAUSE%% seconds)."
21 read -t %%LAB_PAUSE%% UNUSED
22 RET=$?
23 if [ "$RET" == '0' ]; then
24 message "NOTICE: Starting the shell..."
25 message ""
26 message "To boot your system as normal, type:"
27 message " cd /bin; ./boot-hdd"
28 message ""
29 openvt $VT /bin/ash
30 exec /bin/ash
31 else
32 message "Trying to boot from hdd."
33 cd /bin
34 ./boot-hdd
35 RET=$?
36 cd /
39 message "NOTICE: Starting the shell..."
40 openvt $VT /bin/ash
41 exec /bin/ash