summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-06-24 21:52:58 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2013-06-24 21:52:58 +0200
commita6c584bc1a6ba62db09014487e81210546c37e81 (patch)
tree538332f54746c2e152adffba720785f1320445e1 /components
parentb14879f67399600c7330a384b0bfb9f13f349134 (diff)
downloadlive-boot-a6c584bc1a6ba62db09014487e81210546c37e81.tar.gz
live-boot-a6c584bc1a6ba62db09014487e81210546c37e81.zip
Updating code to current coding style in a some locations.
Diffstat (limited to 'components')
-rwxr-xr-xcomponents/0030-verify-checksums2
-rwxr-xr-xcomponents/9990-aaa-fixme.sh11
2 files changed, 6 insertions, 7 deletions
diff --git a/components/0030-verify-checksums b/components/0030-verify-checksums
index 3249b34..dd1c8f8 100755
--- a/components/0030-verify-checksums
+++ b/components/0030-verify-checksums
@@ -72,7 +72,7 @@ Verify_checksums ()
# Unmount live-media
cd /
- umount -f ${_MOUNTPOINT} > /dev/null 2>&1
+ umount -f "${_MOUNTPOINT}" > /dev/null 2>&1
sync
# Attempt to remount all mounted filesystems read-only
diff --git a/components/9990-aaa-fixme.sh b/components/9990-aaa-fixme.sh
index 416d6b4..6fc12f9 100755
--- a/components/9990-aaa-fixme.sh
+++ b/components/9990-aaa-fixme.sh
@@ -1,6 +1,7 @@
#!/bin/sh
-export PATH="/root/usr/bin:/root/usr/sbin:/root/bin:/root/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
+PATH="/root/usr/bin:/root/usr/sbin:/root/bin:/root/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
+export PATH
echo "/root/lib" >> /etc/ld.so.conf
echo "/root/usr/lib" >> /etc/ld.so.conf
@@ -15,10 +16,7 @@ mkdir -p "${mountpoint}"
tried="/tmp/tried"
# Create /etc/mtab for debug purpose and future syncs
-if [ ! -d /etc ]
-then
- mkdir /etc/
-fi
+mkdir -p /etc
if [ ! -f /etc/mtab ]
then
@@ -28,7 +26,8 @@ fi
if [ ! -x "/bin/fstype" ]
then
# klibc not in path -> not in initramfs
- export PATH="${PATH}:/usr/lib/klibc/bin"
+ PATH="${PATH}:/usr/lib/klibc/bin"
+ export PATH
fi
# handle upgrade path from old udev (using udevinfo) to