diff options
author | Rod Whitby <rod@whitby.id.au> | 2007-03-30 18:25:11 +0000 |
---|---|---|
committer | Rod Whitby <rod@whitby.id.au> | 2007-03-30 18:25:11 +0000 |
commit | 49464dcea63bcd4fc2599216b71e78617912f16e (patch) | |
tree | cd69cd069e0841b10d403d657fe77a90e11bea86 /packages/slugos-init/files/turnup | |
parent | 7b297dc027dab0a74b755934e00a697abaf9b6ad (diff) |
slugos-init: Remove special altboot support - turnup flash is all that is required.
Diffstat (limited to 'packages/slugos-init/files/turnup')
-rw-r--r-- | packages/slugos-init/files/turnup | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/packages/slugos-init/files/turnup b/packages/slugos-init/files/turnup index 119d84f2c8..556d942e26 100644 --- a/packages/slugos-init/files/turnup +++ b/packages/slugos-init/files/turnup @@ -372,8 +372,6 @@ boot_rootfs() { nfs) shift 2;; flash) ;; ram) ;; - altboot) - ;; *) echo "turnup: boot_rootfs($type, $ffs, $device): unknown type" >&2 return 1;; esac @@ -407,11 +405,6 @@ boot_rootfs() { echo "turnup: boot_rootfs: failed to write $ffs/linuxrc.new" >&2 return 1 };; - altboot) - ln -s "boot/altboot" "$ffs"/linuxrc.new || { - echo "turnup: boot_rootfs: failed to create $ffs/linuxrc.new" >&2 - return 1 - };; *) { echo '#!/bin/sh' # echo 'modprobe ehci-hcd' # echo 'modprobe ohci-hcd' @@ -579,7 +572,7 @@ boot_reset() { local ffs typ status case "$1" in - flash|ram|altboot)type="$1" + flash|ram)type="$1" shift;; *) echo "turnup: boot_reset($1): invalid type" >&2 return 1;; @@ -806,8 +799,6 @@ nfs) shift nfs "$@";; flash) boot_reset flash;; ram) boot_reset ram;; -altboot) - boot_reset altboot;; preserve) shift sysconf save "$@";; @@ -850,8 +841,6 @@ usage: turnup command [options] ram Boot (once) into a ramdisk, subsequent boots will be to the flash file system. - altboot - Hand over boot control to the altboot utility. preserve Save the system configuration to the SysConf partition, you will need to create the SysConf partition from the boot loader |