summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-04-01 21:58:21 +0200
committerDaniel Baumann <daniel@debian.org>2012-04-01 21:59:44 +0200
commit821aa7e0b3c222912172517ca7f8e179b5ef7a9d (patch)
treea3b2a685be88620171d64cf901ee1325c60e6e6c /scripts
parent8b450c0e900c199259b738b3e43b01195b853ec3 (diff)
downloadlive-boot-821aa7e0b3c222912172517ca7f8e179b5ef7a9d.tar.gz
live-boot-821aa7e0b3c222912172517ca7f8e179b5ef7a9d.zip
Avoid '==' bashism in initial work on a custom mounts system to ensure posix compatiblity.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/live b/scripts/live
index bd4ee2a..821103a 100755
--- a/scripts/live
+++ b/scripts/live
@@ -854,7 +854,7 @@ do_iscsi()
#modprobe ib_iser
modprobe iscsi_tcp
local debugopt=""
- [ "${DEBUG}" == "Yes" ] && debugopt="-d 8"
+ [ "${DEBUG}" = "Yes" ] && debugopt="-d 8"
#FIXME this name is supposed to be unique - some date + ifconfig hash?
ISCSI_INITIATORNAME="iqn.1993-08.org.debian.live:01:$(echo "${HWADDR}" | sed -e s/://g)"
export ISCSI_INITIATORNAME
@@ -1624,7 +1624,7 @@ setup_unionfs ()
fi
# FIXME: debug stuff, remove me?
- [ "${DEBUG}" == "Yes" ] && cat ${include_list} >> ${rootmnt}/${bindings}-origs
+ [ "${DEBUG}" = "Yes" ] && cat ${include_list} >> ${rootmnt}/${bindings}-origs
while read source dest
do
if echo ${source} | grep -qe "^[[:space:]]*#"
@@ -1664,7 +1664,7 @@ setup_unionfs ()
sort -k2 -sbu ${bindings} -o ${bindings}
# FIXME: debug stuff, remove me?
- [ "${DEBUG}" == "Yes" ] && cp ${bindings} ${rootmnt}/${bindings}-results
+ [ "${DEBUG}" = "Yes" ] && cp ${bindings} ${rootmnt}/${bindings}-results
while read source dest
do