projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding upstream version 1.87.5.
[live-boot-grml.git]
/
scripts
/
live
diff --git
a/scripts/live
b/scripts/live
index
73a965e
..
86aaddc
100755
(executable)
--- a/
scripts/live
+++ b/
scripts/live
@@
-76,7
+76,7
@@
parse_cmdline ()
export PERSISTENT="" ;;
ip*)
STATICIP=${x#ip=}
export PERSISTENT="" ;;
ip*)
STATICIP=${x#ip=}
- if [ "${STATICIP}" =
=
"" ]; then
+ if [ "${STATICIP}" = "" ]; then
STATICIP="frommedia"
fi
export STATICIP ;;
STATICIP="frommedia"
fi
export STATICIP ;;
@@
-106,6
+106,8
@@
parse_cmdline ()
export MODULE=${x#module=} ;;
preseed/file=*|file=*)
export LOCATION="${x#*=}" ;;
export MODULE=${x#module=} ;;
preseed/file=*|file=*)
export LOCATION="${x#*=}" ;;
+ upgrade)
+ export UPGRADE="Yes" ;;
*/*=*)
question="${x%%=*}"
value="${x#*=}"
*/*=*)
question="${x%%=*}"
value="${x#*=}"
@@
-118,10
+120,10
@@
parse_cmdline ()
# sort of compatibility with netboot.h from linux docs
if [ -z "${NETBOOT}" ]; then
# sort of compatibility with netboot.h from linux docs
if [ -z "${NETBOOT}" ]; then
- if [ "${ROOT}" =
=
"/dev/nfs" ]; then
+ if [ "${ROOT}" = "/dev/nfs" ]; then
NETBOOT="nfs"
export NETBOOT
NETBOOT="nfs"
export NETBOOT
- elif [ "${ROOT}" =
=
"/dev/cifs" ]; then
+ elif [ "${ROOT}" = "/dev/cifs" ]; then
NETBOOT="cifs"
export NETBOOT
fi
NETBOOT="cifs"
export NETBOOT
fi