diff options
author | Matthias Hentges <oe@hentges.net> | 2006-10-26 16:09:59 +0000 |
---|---|---|
committer | Matthias Hentges <oe@hentges.net> | 2006-10-26 16:09:59 +0000 |
commit | d9816ba8e3ce8105e8c47b765ef9805497d4b59c (patch) | |
tree | dd3208065df9e70474f85c111fbb0c9130a3329f /packages/altboot/files/altboot-menu/Advanced | |
parent | 85c7d84780764f9d6a063a07435734b854c2132d (diff) |
altboot:
- Add altbootctl to set altboot options on a permanent or per-reboot basis
- Only remember selections for the next boot that actually make sense
- Cleanup of run_timer()
- Disabled existing kexec modules due to a planned rework
Diffstat (limited to 'packages/altboot/files/altboot-menu/Advanced')
4 files changed, 8 insertions, 2 deletions
diff --git a/packages/altboot/files/altboot-menu/Advanced/70-install-tgz b/packages/altboot/files/altboot-menu/Advanced/70-install-tgz index cb8b2722d5..aca0d047c6 100644 --- a/packages/altboot/files/altboot-menu/Advanced/70-install-tgz +++ b/packages/altboot/files/altboot-menu/Advanced/70-install-tgz @@ -1,6 +1,6 @@ #!/bin/sh - M_TITLE="Install RootFS from tar.gz" +M_FLAGS="noRemember" run_module(){ test -e /etc/altboot.func && . /etc/altboot.func || die "ERROR: /etc/altboot.func not found. Check your installation!" @@ -259,5 +259,6 @@ install_rootfs_image(){ case "$1" in title) echo "$M_TITLE";; +flags) echo "$M_FLAGS";; run) run_module "$2";; esac diff --git a/packages/altboot/files/altboot-menu/Advanced/70-setKernel b/packages/altboot/files/altboot-menu/Advanced/70-setKernel index 6192232a73..50f61d034f 100644 --- a/packages/altboot/files/altboot-menu/Advanced/70-setKernel +++ b/packages/altboot/files/altboot-menu/Advanced/70-setKernel @@ -1,7 +1,8 @@ # !/bin/sh M_TITLE="Choose kernel for next boot" - +# Deprecated due to altbootctl +exit 0 # Only kernel 2.6 offers kexec support uname -r | grep -q "^2.6" || exit 0 diff --git a/packages/altboot/files/altboot-menu/Advanced/80-configure-kexec b/packages/altboot/files/altboot-menu/Advanced/80-configure-kexec index e294df683f..1b8fc6e547 100644 --- a/packages/altboot/files/altboot-menu/Advanced/80-configure-kexec +++ b/packages/altboot/files/altboot-menu/Advanced/80-configure-kexec @@ -1,6 +1,8 @@ # !/bin/sh M_TITLE="Configure kexec CMDLINE" +# Deprecated due to altbootctl +exit 0 # Only kernel 2.6 offers kexec support diff --git a/packages/altboot/files/altboot-menu/Advanced/80-copyrootfs b/packages/altboot/files/altboot-menu/Advanced/80-copyrootfs index af6bd38c1d..2d305e349f 100644 --- a/packages/altboot/files/altboot-menu/Advanced/80-copyrootfs +++ b/packages/altboot/files/altboot-menu/Advanced/80-copyrootfs @@ -1,5 +1,6 @@ # !/bin/sh M_TITLE="Copy rootfs to SD/CF" +M_FLAGS="noRemember" # Unfinished script. exit 0 @@ -317,5 +318,6 @@ run_module() { case "$1" in title) echo "$M_TITLE";; +flags) echo "$M_FLAGS";; run) run_module;; esac |