summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/bin/hwautocfg
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-04-27 18:43:13 +0200
committerDirk von Suchodoletz2007-04-27 18:43:13 +0200
commite9ee35d9b4086b91eb9e45ffb4a96debd2ee2f95 (patch)
treeca33484fccc56987a01179aed9514ee7f1dcc750 /initramfs/initrd-stuff/bin/hwautocfg
parent* added explicit creation of /lib64 and /usr/lib64 if they do not (diff)
downloadcore-e9ee35d9b4086b91eb9e45ffb4a96debd2ee2f95.tar.gz
core-e9ee35d9b4086b91eb9e45ffb4a96debd2ee2f95.tar.xz
core-e9ee35d9b4086b91eb9e45ffb4a96debd2ee2f95.zip
Fix for detection of part.ID44, proper setup of /tmp ...
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@934 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/bin/hwautocfg')
-rwxr-xr-xinitramfs/initrd-stuff/bin/hwautocfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/initramfs/initrd-stuff/bin/hwautocfg b/initramfs/initrd-stuff/bin/hwautocfg
index 3f8fce81..7b023015 100755
--- a/initramfs/initrd-stuff/bin/hwautocfg
+++ b/initramfs/initrd-stuff/bin/hwautocfg
@@ -424,8 +424,6 @@ for hd in $(cat /tmp/hwsetup.info|sed -n -e '/HD$/,/device:/p'| \
part44=yes
break
done
- # determine if tmp preparation should wait for format/mount or not
- [ -z "$part44" ] && echo "finished at $(sysup)" > /tmp/tmpready
# put detected linux partitions into /etc/fstab with "noauto"
for hdpartnr in $(cat /tmp/hd_part | \
sed -n -e "/ 83 /p"|sed -e "s/[[:space:]].*//") ; do
@@ -434,6 +432,8 @@ for hd in $(cat /tmp/hwsetup.info|sed -n -e '/HD$/,/device:/p'| \
noexec\t 0 0" >> /tmp/fstab
done
done
+# determine if tmp preparation should wait for format/mount or not
+[ -z "$part44" ] && echo "finished at $(sysup)" > /tmp/tmpready
else
echo "no disk found ( $(sysup) )" > /tmp/tmpready
fi