Release new version 1:20210208+grml.5
[live-boot-grml.git] / components / 9990-cmdline-old
index 2f566bb..1504e1e 100755 (executable)
@@ -17,6 +17,12 @@ Cmdline_old ()
                        BOOTIF=*)
                                BOOTIF="${_PARAMETER#BOOTIF=}"
                                ;;
+                       dns=*)
+                               DNS=${_PARAMETER#dns=}
+                               DNSSERVERS=$(echo ${DNS} | sed 's/,/ /g')
+                               export DNSSERVERS
+                               unset DNS
+                               ;;
 
                        bootid=*)
                                BOOTID="${_PARAMETER#bootid=}"
@@ -33,7 +39,7 @@ Cmdline_old ()
                        nodhcp)
                                DHCP=""
                                export DHCP
-                               NODHCP="Yes"
+                               NODHCP="true"
                                export NODHCP
                                ;;
 
@@ -171,6 +177,11 @@ Cmdline_old ()
                                ramdisk_size="${_PARAMETER#ramdisk-size=}"
                                ;;
 
+                       overlay-size=*)
+                               OVERLAY_SIZE="${_PARAMETER#overlay-size=}"
+                               export OVERLAY_SIZE
+                               ;;
+
                        persistence)
                                PERSISTENCE="true"
                                export PERSISTENCE
@@ -205,7 +216,7 @@ Cmdline_old ()
                                ;;
 
                        persistence-label=*)
-                               custom_overlay_label="${_PARAMETER#persistence-label=*}"
+                               custom_overlay_label=$(echo ${_PARAMETER#persistence-label=*} | sed -e 's/,/ /g')
                                ;;
 
                        nopersistence)
@@ -258,6 +269,11 @@ Cmdline_old ()
                                UNIONTYPE="${_PARAMETER#union=}"
                                export UNIONTYPE
                                ;;
+
+                       vlan=*)
+                               VLANS="${VLANS} ${_PARAMETER#vlan=}"
+                               export VLANS
+                               ;;
                esac
        done