projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release new version 1:20210208+grml.5
[live-boot-grml.git]
/
components
/
9990-cmdline-old
diff --git
a/components/9990-cmdline-old
b/components/9990-cmdline-old
index
f04c0ff
..
1504e1e
100755
(executable)
--- a/
components/9990-cmdline-old
+++ b/
components/9990-cmdline-old
@@
-39,13
+39,14
@@
Cmdline_old ()
nodhcp)
DHCP=""
export DHCP
nodhcp)
DHCP=""
export DHCP
- NODHCP="
Yes
"
+ NODHCP="
true
"
export NODHCP
;;
ethdevice=*)
export NODHCP
;;
ethdevice=*)
- ETHDEVICE="${_PARAMETER#ethdevice=}"
- export ETHDEVICE
+ DEVICE="${_PARAMETER#ethdevice=}"
+ ETHDEVICE="${DEVICE}"
+ export DEVICE ETHDEVICE
;;
ethdevice-timeout=*)
;;
ethdevice-timeout=*)
@@
-102,9
+103,13
@@
Cmdline_old ()
;;
ip=*)
;;
ip=*)
- # copy complete ip=args into staticip, and
- # keep multiple uses.
- STATICIP="${STATICIP} ${_PARAMETER}"
+ STATICIP="${_PARAMETER#ip=}"
+
+ if [ -z "${STATICIP}" ]
+ then
+ STATICIP="frommedia"
+ fi
+
export STATICIP
;;
export STATICIP
;;
@@
-172,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
@@
-206,7
+216,7
@@
Cmdline_old ()
;;
persistence-label=*)
;;
persistence-label=*)
- custom_overlay_label=
"${_PARAMETER#persistence-label=*}"
+ custom_overlay_label=
$(echo ${_PARAMETER#persistence-label=*} | sed -e 's/,/ /g')
;;
nopersistence)
;;
nopersistence)