diff options
| author | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 13:46:18 +0200 |
|---|---|---|
| committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 13:54:10 +0200 |
| commit | 2648cbc4fbb19cc4b20bca4b4f3d38d515f130a1 (patch) | |
| tree | a638a56c0c90de0afb70f1c1b2d19e570d39e20c /scripts/boot/9990-mount-http.sh | |
| parent | 18d2f858d485f89f667d012efc76386f82ffda59 (diff) | |
| download | live-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-x | scripts/boot/9990-mount-http.sh | 7 |
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 |
