diff options
author | Dirk von Suchodoletz | 2010-08-22 14:56:48 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2010-08-22 14:56:48 +0200 |
commit | 2a908c01f8d19454cf2f9835cb07e4eeb57fb429 (patch) | |
tree | f54c1de6eaa10f1826054af76e8fcc3b27734531 /initramfs/stage3-stuff/init | |
parent | Removing deprecated ash from plugins call for scripts ... (diff) | |
download | core-2a908c01f8d19454cf2f9835cb07e4eeb57fb429.tar.gz core-2a908c01f8d19454cf2f9835cb07e4eeb57fb429.tar.xz core-2a908c01f8d19454cf2f9835cb07e4eeb57fb429.zip |
Further changes because of deprecated ash.
Diffstat (limited to 'initramfs/stage3-stuff/init')
-rwxr-xr-x | initramfs/stage3-stuff/init | 12 |
1 files changed, 6 insertions, 6 deletions
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' |