summaryrefslogtreecommitdiffstats
path: root/initramfs/stage3-stuff
diff options
context:
space:
mode:
authorDirk von Suchodoletz2010-08-22 14:56:48 +0200
committerDirk von Suchodoletz2010-08-22 14:56:48 +0200
commit2a908c01f8d19454cf2f9835cb07e4eeb57fb429 (patch)
treef54c1de6eaa10f1826054af76e8fcc3b27734531 /initramfs/stage3-stuff
parentRemoving deprecated ash from plugins call for scripts ... (diff)
downloadcore-2a908c01f8d19454cf2f9835cb07e4eeb57fb429.tar.gz
core-2a908c01f8d19454cf2f9835cb07e4eeb57fb429.tar.xz
core-2a908c01f8d19454cf2f9835cb07e4eeb57fb429.zip
Further changes because of deprecated ash.
Diffstat (limited to 'initramfs/stage3-stuff')
-rwxr-xr-xinitramfs/stage3-stuff/bin/hwautocfg2
-rwxr-xr-xinitramfs/stage3-stuff/init12
2 files changed, 7 insertions, 7 deletions
diff --git a/initramfs/stage3-stuff/bin/hwautocfg b/initramfs/stage3-stuff/bin/hwautocfg
index 96bec352..a94af148 100755
--- a/initramfs/stage3-stuff/bin/hwautocfg
+++ b/initramfs/stage3-stuff/bin/hwautocfg
@@ -21,7 +21,7 @@ for tool in /usr/sbin/acpidump \
/usr/bin/udevinfo \
/sbin/dmraid ; do
testmkd ${tool%/*}
- echo -e "#!/bin/ash" >${tool}
+ echo -e "#!/bin/sh" >${tool}
chmod u+x ${tool}
done
# no kernel messages, switch on hotplug via /sbin/mdev
diff --git a/initramfs/stage3-stuff/init b/initramfs/stage3-stuff/init
index 0d2f0a2d..205da638 100755
--- a/initramfs/stage3-stuff/init
+++ b/initramfs/stage3-stuff/init
@@ -164,7 +164,7 @@ in $0\ncountry=\"${COUNTRY}\"" >>/etc/initramfs-setup
elif [ $DEBUGLEVEL -ge 3 -a $DEBUGLEVEL -le 20 ] ; then
# create, start a debug shell process
echo "Debug shell started on second console (tty2)"
- echo -e "#!/bin/ash\nash" >/bin/debugshell
+ echo -e "#!/bin/sh\nsh" >/bin/debugshell
chmod u+x /bin/debugshell
getty -i -n -l /bin/debugshell 38400 tty2 &
# start logging (debuglevel >=3)
@@ -322,7 +322,7 @@ runinithook '05-have-kernelvars'
# module for the network adaptor)
if [ ${DEBUGLEVEL} -lt 3 -o ${DEBUGLEVEL} = 8 ] ; then
cat<<EOF > /bin/watchdog
-#!/bin/ash
+#!/bin/sh
echo \$$ > /tmp/watchdogpid
[ ! -f /proc/version ] && mount -n -t proc proc /proc
sleep 120 2> /dev/null
@@ -699,7 +699,7 @@ mount -n --bind /mnt/lib/firmware /lib/firmware || error "$init_moddir"
# debuglevel (21) is used for the option of manual hwautocfg start
if [ ${DEBUGLEVEL} = 21 ] ; then
echo "You can run 'hwautocfg main &' manually now ..."
- /bin/ash
+ /bin/sh
else
[ $DEBUGLEVEL -eq 20 ] && echo "** started hwautocfg in background at \
$(sysup)"
@@ -828,7 +828,7 @@ for linux diskless client specific debugging output\nLOGFILE=\"$LOGFILE\"\n#\
# run distribution independent and dependent configuration of files and
# services (offer debug shell in runlevel 22)
if [ ${DEBUGLEVEL} = 22 ] ; then
- /bin/ash
+ /bin/sh
else
servconfig &
fi
@@ -911,7 +911,7 @@ fi
# check for any plugin-specific runlevel scripts and run them, if found:
if [ ${DEBUGLEVEL} = 25 ] ; then
- /bin/ash
+ /bin/sh
else
if [ -d /etc/plugin-init.d ]; then
for plugin_starter in /etc/plugin-init.d/*.sh; do
@@ -958,7 +958,7 @@ postinit
# start a debug shell in higher debug levels
[ $DEBUGLEVEL -gt 2 -a $DEBUGLEVEL != 8 ] \
- && echo "DEBUGLEVEL>2: starting debug-shell, exit with CTRL+D" && /bin/ash
+ && echo "DEBUGLEVEL>2: starting debug-shell, exit with CTRL+D" && /bin/sh
runinithook '90-postinit-done'