10 if [ -e $ACPI -a -n "`sysenv acpi`" ]
12 /bin
/service
-c up
$ACPI
14 /bin
/service
-c up
/usr
/sbin
/pci
15 /bin
/service
-cn up
/sbin
/floppy
-dev /dev
/fd0
16 if [ X
`/bin/sysenv ahci` = Xyes
]
18 # this is here temporarily, for testing purposes
19 /bin
/service
-c up
/sbin
/ahci
-dev /dev
/c0d0
-label ahci_0
-args instance
=0
21 /bin
/service
-c up
/sbin
/at_wini
-dev /dev
/c0d0
-label at_wini_0
22 /bin
/service
-cr up
/sbin
/at_wini
-dev /dev
/c1d0
-label at_wini_1
-args instance
=1
24 /bin
/service up
/sbin
/procfs ||
echo "WARNING: couldn't start procfs"
26 if /bin
/sysenv rootdevname
>/dev
/null
28 rootdevname
=/dev
/`/bin/sysenv rootdevname`
30 rootdev
=`/bin/sysenv rootdev` ||
echo 'No rootdev?'
31 rootdevname
=`/bin/dev2name "$rootdev"` ||
32 { echo 'No device name for root device'; exit 1; }
35 if [ "`sysenv bin_img`" = 1 ]
40 if sysenv cdproberoot
>/dev
/null
43 echo 'Looking for boot CD. This may take a minute.'
44 echo 'Please ignore any error messages.'
46 cddev
=`cdprobe` ||
{ echo 'No CD found'; exit 1; }
48 echo "Loading ramdisk from ${cddev}p1"
49 loadramdisk
"$cddev"p1
50 elif [ "$rootdevname" = "/dev/ram" ]
52 if /bin
/sysenv rootdevname
>/dev
/null
54 ramimagename
=/dev
/`/bin/sysenv ramimagename`
56 ramimagedev
=`/bin/sysenv ramimagedev` ||
57 { echo 'ramimagedev not found'; exit 1; }
58 ramimagename
=`/bin/dev2name "$ramimagedev"` ||
59 { echo 'No device name for ramimagedev'; exit 1; }
62 echo "Loading ramdisk from $ramimagename"
63 loadramdisk
"$ramimagename" ||
echo "WARNING: loadramdisk failed"
65 echo "Root device name is $rootdevname"
67 then $FSCK -p $rootdevname
70 # Change root from temporary boot ramdisk to the configure
72 /bin
/mount
-n $bin_img"$rootdevname" /
74 /bin
/mount
-e -n -t procfs none
/proc ||
echo "WARNING: couldn't mount procfs"
76 exec /bin
/sh
/etc
/rc
"$@"