diff options
author | Daniel Baumann <daniel@debian.org> | 2012-06-05 16:51:44 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-06-05 19:35:56 +0200 |
commit | bc79205b554396acd1a20538df2e189eb304ec9e (patch) | |
tree | f06fc9b17d9247231159b7369d3e86fe222e68bc | |
parent | 97c0e08bd0f00264eb3c2c5896a28e25a89d9f6f (diff) | |
download | live-boot-bc79205b554396acd1a20538df2e189eb304ec9e.tar.gz live-boot-bc79205b554396acd1a20538df2e189eb304ec9e.zip |
Removing some dead boot parameters.
-rwxr-xr-x | scripts/boot/arguments.sh | 53 |
1 files changed, 4 insertions, 49 deletions
diff --git a/scripts/boot/arguments.sh b/scripts/boot/arguments.sh index e8636ee..eeedeca 100755 --- a/scripts/boot/arguments.sh +++ b/scripts/boot/arguments.sh @@ -4,9 +4,6 @@ Arguments () { - PRESEEDS="" - LOCATIONS="" - for ARGUMENT in $(cat /proc/cmdline) do case "${ARGUMENT}" in @@ -15,22 +12,11 @@ Arguments () ;; skipconfig) - NOACCESSIBILITY="true" NOFASTBOOT="true" NOFSTAB="true" NONETWORKING="true" - export NOACCESSIBILITY NOFASTBOOT NOFSTAB NONETWORKING - ;; - - access=*) - ACCESS="${ARGUMENT#access=}" - export ACCESS - ;; - - console=*) - DEFCONSOLE="${ARGUMENT#*=}" - export DEFCONSOLE + export NOFASTBOOT NOFSTAB NONETWORKING ;; BOOTIF=*) @@ -47,12 +33,13 @@ Arguments () dhcp) # Force dhcp even while netbooting # Use for debugging in case somebody works on fixing dhclient - DHCP="Force"; + DHCP="true"; export DHCP ;; nodhcp) - unset DHCP + DHCP="" + export DHCP ;; ethdevice=*) @@ -76,11 +63,6 @@ Arguments () export FINDISO ;; - forcepersistencefsck) - FORCEPERSISTENCEFSCK="true" - export FORCEPERSISTENCEFSCK - ;; - ftpfs=*) FTPFS="${ARGUMENT#ftpfs=}" export FTPFS @@ -130,11 +112,6 @@ Arguments () export STATICIP ;; - live-getty) - LIVE_GETTY="1" - export LIVE_GETTY - ;; - live-media=*|bootfrom=*) LIVE_MEDIA="${ARGUMENT#*=}" export LIVE_MEDIA @@ -180,11 +157,6 @@ Arguments () export NFS_COW ;; - noaccessibility) - NOACCESSIBILITY="true" - export NOACCESSIBILITY - ;; - nofastboot) NOFASTBOOT="true" export NOFASTBOOT @@ -271,23 +243,6 @@ Arguments () export QUICKUSBMODULES ;; - preseed/file=*|file=*) - LOCATIONS="${ARGUMENT#*=} ${LOCATIONS}" - export LOCATIONS - ;; - - nopreseed) - NOPRESEED="true" - export NOPRESEED - ;; - - */*=*) - question="${ARGUMENT%%=*}" - value="${ARGUMENT#*=}" - PRESEEDS="${PRESEEDS}\"${question}=${value}\" " - export PRESEEDS - ;; - showmounts) SHOWMOUNTS="true" export SHOWMOUNTS |