Allowing to superseed live-boot cmdline through configuration files.
[live-boot-grml.git] / scripts / boot / 9990-cmdline-old
index 16fc206..8bb8254 100755 (executable)
@@ -4,7 +4,7 @@
 
 Cmdline_old ()
 {
-       for _PARAMETER in ${_CMDLINE}
+       for _PARAMETER in ${LIVE_BOOT_CMDLINE}
        do
                case "${_PARAMETER}" in
                        skipconfig)
@@ -15,7 +15,7 @@ Cmdline_old ()
                                ;;
 
                        BOOTIF=*)
-                               BOOTIF="${x#BOOTIF=}"
+                               BOOTIF="${_PARAMETER#BOOTIF=}"
                                ;;
 
                        dhcp)
@@ -30,11 +30,6 @@ Cmdline_old ()
                                export DHCP
                                ;;
 
-                       klibc-mount=*)
-                               KLIBC_MOUNT="${_PARAMETER#klibc-mount=}"
-                               export KLIBC_MOUNT
-                               ;;
-
                        ethdevice=*)
                                DEVICE="${_PARAMETER#ethdevice=}"
                                ETHDEVICE="${DEVICE}"