# this covers the case where there isn't one, but we still want
# to load more hardware
if ! is_true "$NOPROBEHW" ; then
- status_begin "looking for kernel modules to load"
- lspci -k|grep 'Kernel modules:' | awk '{print $3}'| sort -u | xargs -n1 modprobe
+ status_begin "loading kernel modules"
+ modprobe $(lspci -k|grep 'Kernel modules:' | awk '{print $3}'| sort -u)
status_check
fi
mount -a -t noproc,sysfs,devtmpfs,devpts,tmpfs
status_check
+# force mtab symlink
rm -f /etc/mtab
-mount -af
-mount -f /
+ln -s /proc/mounts /etc/mtab
# * do any boot time /tmp cleanup or similar