projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support debian_networking boot option to use Debian's network behavior
[live-boot-grml.git]
/
components
/
9990-cmdline-old
diff --git
a/components/9990-cmdline-old
b/components/9990-cmdline-old
index
91c1449
..
6ac6eb5
100755
(executable)
--- a/
components/9990-cmdline-old
+++ b/
components/9990-cmdline-old
@@
-17,18
+17,11
@@
Cmdline_old ()
BOOTIF=*)
BOOTIF="${_PARAMETER#BOOTIF=}"
;;
BOOTIF=*)
BOOTIF="${_PARAMETER#BOOTIF=}"
;;
-
dns=*)
dns=*)
- DNSSERVER="${_PARAMETER#*=}"
- if echo "${DNSSERVER}" | grep -q , ; then
- DNSSERVER1="${DNSSERVER%,*}"
- DNSSERVER2="${DNSSERVER#*,}"
- export DNSSERVER1 DNSSERVER2
- else
- DNSSERVER1="$DNSSERVER"
- export DNSSERVER1
- fi
- unset DNSSERVER
+ DNS=${_PARAMETER#dns=}
+ DNSSERVERS=$(echo ${DNS} | sed 's/,/ /g')
+ export DNSSERVERS
+ unset DNS
;;
bootid=*)
;;
bootid=*)
@@
-46,7
+39,7
@@
Cmdline_old ()
nodhcp)
DHCP=""
export DHCP
nodhcp)
DHCP=""
export DHCP
- NODHCP="
Yes
"
+ NODHCP="
true
"
export NODHCP
;;
export NODHCP
;;
@@
-184,6
+177,11
@@
Cmdline_old ()
ramdisk_size="${_PARAMETER#ramdisk-size=}"
;;
ramdisk_size="${_PARAMETER#ramdisk-size=}"
;;
+ overlay-size=*)
+ OVERLAY_SIZE="${_PARAMETER#overlay-size=}"
+ export OVERLAY_SIZE
+ ;;
+
persistence)
PERSISTENCE="true"
export PERSISTENCE
persistence)
PERSISTENCE="true"
export PERSISTENCE
@@
-271,6
+269,11
@@
Cmdline_old ()
UNIONTYPE="${_PARAMETER#union=}"
export UNIONTYPE
;;
UNIONTYPE="${_PARAMETER#union=}"
export UNIONTYPE
;;
+
+ vlan=*)
+ VLANS="${VLANS} ${_PARAMETER#vlan=}"
+ export VLANS
+ ;;
esac
done
esac
done