Updating to use dash instead of msh

This commit is contained in:
Neil Horman 2009-05-20 16:42:31 +00:00
parent ae38cd5a0c
commit c0d5d5c171
6 changed files with 12 additions and 7 deletions

View File

@ -16,8 +16,8 @@ do
ln -s busybox $STAGE_DIR/sbin/$i
done
# We always get kpartx, dmsetup, lvm and mdadm
for i in /sbin/lvm /sbin/kpartx /sbin/mdadm /sbin/dmsetup
# We always get dash kpartx, dmsetup, lvm and mdadm
for i in /sbin/dash /sbin/lvm /sbin/kpartx /sbin/mdadm /sbin/dmsetup
do
install_with_deps $i 755
done
@ -33,4 +33,7 @@ do
fi
done
# make dash our default shell
$(cd $STAGE_DIR/bin; ln -s /bin/dash sh)
exit 0

View File

@ -1,4 +1,4 @@
#!/bin/msh
#!/bin/sh
###################################################
# Start by setting up the console to work as a user
@ -19,7 +19,7 @@ start_udev
# Load all the modules based on
# /etc/module_load_list
##################################################
load_all_modules
load_modules

View File

@ -1,4 +1,4 @@
#!/bin/msh
#!/bin/sh
#kdump-requires: /etc/lvm/lvm.conf
#
echo "Scanning logical volumes"

View File

@ -1,4 +1,4 @@
#!/bin/msh
#!/bin/sh
#kdump-requires: /etc/module_load_list
echo "Loading modules"

View File

@ -1,3 +1,5 @@
#!/bin/sh
if [ ! -x /bin/udevd ]
then
echo "udev isn't installed in this initramfs!"

View File

@ -1,4 +1,4 @@
#!/bin/msh
#!/bin/sh
#kdump-requires: /etc/critical-disks
echo "Waiting for critical disks"