summaryrefslogtreecommitdiff
path: root/scripts/live
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 14:46:37 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:31:05 +0100
commit0a1b827c113b85f48bcd58e64ccd94d094b9bd8a (patch)
treed83a31c0fdd90c55379666f5962df9c1ea6e43d4 /scripts/live
parentccea277caf476cdfef4c0f953df5a97062d8be42 (diff)
downloadlive-boot-0a1b827c113b85f48bcd58e64ccd94d094b9bd8a.tar.gz
live-boot-0a1b827c113b85f48bcd58e64ccd94d094b9bd8a.zip
Adding live-initramfs 1.87.5-1.
Diffstat (limited to 'scripts/live')
-rwxr-xr-xscripts/live8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/live b/scripts/live
index 73a965e..86aaddc 100755
--- a/scripts/live
+++ b/scripts/live
@@ -76,7 +76,7 @@ parse_cmdline ()
export PERSISTENT="" ;;
ip*)
STATICIP=${x#ip=}
- if [ "${STATICIP}" == "" ]; then
+ if [ "${STATICIP}" = "" ]; then
STATICIP="frommedia"
fi
export STATICIP ;;
@@ -106,6 +106,8 @@ parse_cmdline ()
export MODULE=${x#module=} ;;
preseed/file=*|file=*)
export LOCATION="${x#*=}" ;;
+ upgrade)
+ export UPGRADE="Yes" ;;
*/*=*)
question="${x%%=*}"
value="${x#*=}"
@@ -118,10 +120,10 @@ parse_cmdline ()
# 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
- elif [ "${ROOT}" == "/dev/cifs" ]; then
+ elif [ "${ROOT}" = "/dev/cifs" ]; then
NETBOOT="cifs"
export NETBOOT
fi