summaryrefslogtreecommitdiff
path: root/scripts/boot/9990-mount-http.sh
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 13:46:18 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 13:54:10 +0200
commit2648cbc4fbb19cc4b20bca4b4f3d38d515f130a1 (patch)
treea638a56c0c90de0afb70f1c1b2d19e570d39e20c /scripts/boot/9990-mount-http.sh
parent18d2f858d485f89f667d012efc76386f82ffda59 (diff)
downloadlive-boot-2648cbc4fbb19cc4b20bca4b4f3d38d515f130a1.tar.gz
live-boot-2648cbc4fbb19cc4b20bca4b4f3d38d515f130a1.zip
Adding debian version 4.0~a1-1.
Diffstat (limited to 'scripts/boot/9990-mount-http.sh')
-rwxr-xr-xscripts/boot/9990-mount-http.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/boot/9990-mount-http.sh b/scripts/boot/9990-mount-http.sh
index b557404..1b718c0 100755
--- a/scripts/boot/9990-mount-http.sh
+++ b/scripts/boot/9990-mount-http.sh
@@ -8,9 +8,8 @@ do_httpmount ()
for webfile in HTTPFS FTPFS FETCH
do
- local url extension dest
- url="$(eval echo \"\$\{${webfile}\}\")"
- extension="$(echo "${url}" | sed 's/\(.*\)\.\(.*\)/\2/')"
+ local url="$(eval echo \"\$\{${webfile}\}\")"
+ local extension="$(echo "${url}" | sed 's/\(.*\)\.\(.*\)/\2/')"
if [ -n "$url" ]
then
@@ -21,7 +20,7 @@ do_httpmount ()
mkdir -p "${alt_mountpoint}"
dest="${alt_mountpoint}"
else
- dest="${mountpoint}/${LIVE_MEDIA_PATH}"
+ local dest="${mountpoint}/${LIVE_MEDIA_PATH}"
mount -t ramfs ram "${mountpoint}"
mkdir -p "${dest}"
fi