summaryrefslogtreecommitdiffstats
path: root/initramfs/stage3-stuff/bin/hwautocfg
diff options
context:
space:
mode:
authorDirk von Suchodoletz2010-08-22 15:31:53 +0200
committerDirk von Suchodoletz2010-08-22 15:31:53 +0200
commit57c719aea65b89f3be09b7cbd405a357184eec97 (patch)
tree8f147a07793e2539cc51b7485f14c90f4a9ff623 /initramfs/stage3-stuff/bin/hwautocfg
parentAdding missing lib ... (diff)
downloadcore-57c719aea65b89f3be09b7cbd405a357184eec97.tar.gz
core-57c719aea65b89f3be09b7cbd405a357184eec97.tar.xz
core-57c719aea65b89f3be09b7cbd405a357184eec97.zip
Some more fixes for the changeover from uclibc ...
Diffstat (limited to 'initramfs/stage3-stuff/bin/hwautocfg')
-rwxr-xr-xinitramfs/stage3-stuff/bin/hwautocfg6
1 files changed, 3 insertions, 3 deletions
diff --git a/initramfs/stage3-stuff/bin/hwautocfg b/initramfs/stage3-stuff/bin/hwautocfg
index a94af148..04e47e44 100755
--- a/initramfs/stage3-stuff/bin/hwautocfg
+++ b/initramfs/stage3-stuff/bin/hwautocfg
@@ -72,7 +72,7 @@ grep modprobe /etc/hwinfo.netcard-usbctrl | grep -E "$nwcardlist|hcd" | \
if [ $(grep -ic "virtio_pci" /etc/modprobe.base) -ge 1 ]; then
echo "modprobe virtio_net" >>/etc/modprobe.base
fi
-ash /etc/modprobe.base; mdev -s
+sh /etc/modprobe.base; mdev -s
# optimization possible: exclude network and usb base drivers from the
# following list (bios detection for non-hwautocfg component)
@@ -100,7 +100,7 @@ waitfor /tmp/hwdataready 10000
sed '/Driver Info #1/,/Config Status:/d' \
/etc/hwinfo.data | grep modprobe | sed "s|.* Cmd: \"||;s|\"|$modloadbg|" \
| sort -u >/etc/modprobe.pci
-ash /etc/modprobe.pci
+sh /etc/modprobe.pci
mdev -s
# bluetooth setup (start it later if present, depends on firmware availa-
@@ -226,7 +226,7 @@ fi
finish () {
mdev -s
# mount filesystem parts (if any) requested in disk setup
-[ -f /etc/do_mnt ] && ash /etc/do_mnt &
+[ -f /etc/do_mnt ] && sh /etc/do_mnt &
# remove unneeded disk and mouse drivers
[ ! -s /etc/hwinfo.disk ] && rmmod sd_mod 2>/dev/null
#grep -q " PS/2 " /etc/hwinfo.mouse || \