From: Daniel Drake Call sulogin without absolute path so that it can be overridden with an extra call to disable the splash in splash-functions.sh Index: baselayout-1.12.9/init.d/checkfs =================================================================== --- baselayout-1.12.9.orig/init.d/checkfs +++ baselayout-1.12.9/init.d/checkfs @@ -50,7 +50,7 @@ start() { if [[ ${retval} -gt 3 ]] ; then eend 2 "Fsck could not correct all errors, manual repair needed" - /sbin/sulogin ${CONSOLE} + sulogin ${CONSOLE} fi fi fi Index: baselayout-1.12.9/init.d/checkroot =================================================================== --- baselayout-1.12.9.orig/init.d/checkroot +++ baselayout-1.12.9/init.d/checkroot @@ -66,7 +66,7 @@ start() { show_exitcode $? else eend 2 "Filesystem couldn't be fixed :(" - /sbin/sulogin ${CONSOLE} + sulogin ${CONSOLE} fi einfo "Unmounting filesystems" /bin/mount -a -o remount,ro &> /dev/null @@ -86,7 +86,7 @@ start() { if [[ $? -ne 0 ]] ; then eend 2 "Root filesystem could not be mounted read/write :(" if [[ ${RC_FORCE_AUTO} != "yes" ]] ; then - /sbin/sulogin ${CONSOLE} + sulogin ${CONSOLE} fi else eend 0 Index: baselayout-1.12.9/init.d/halt.sh =================================================================== --- baselayout-1.12.9.orig/init.d/halt.sh +++ baselayout-1.12.9/init.d/halt.sh @@ -197,7 +197,7 @@ fi eend ${mount_worked} if [[ ${mount_worked} -eq 1 ]]; then ups_kill_power - /sbin/sulogin -t 10 /dev/console + sulogin -t 10 /dev/console fi # Inform if there is a forced or skipped fsck Index: baselayout-1.12.9/sbin/rc =================================================================== --- baselayout-1.12.9.orig/sbin/rc +++ baselayout-1.12.9/sbin/rc @@ -41,7 +41,7 @@ try() { echo eerror "Since this is a critical task, startup cannot continue." echo - /sbin/sulogin ${CONSOLE} + sulogin ${CONSOLE} einfo "Unmounting filesystems" if [ -c /dev/null ]; then /bin/mount -a -o remount,ro &>/dev/null @@ -73,7 +73,7 @@ check_statedir() { echo eerror " # mkdir -p $1" echo; echo - /sbin/sulogin ${CONSOLE} + sulogin ${CONSOLE} fi einfo "Unmounting filesystems" /bin/mount -a -o remount,ro &>/dev/null @@ -411,7 +411,7 @@ then eerror "One or more critical startup scripts failed to start!" eerror "Please correct this, and reboot ..." echo; echo - /sbin/sulogin ${CONSOLE} + sulogin ${CONSOLE} einfo "Unmounting filesystems" /bin/mount -a -o remount,ro &>/dev/null einfo "Rebooting" @@ -832,7 +832,7 @@ fi if [[ ${SOFTLEVEL} == "single" ]] ; then rm -rf "${svcdir}/softscripts.new" - [[ ${RUNLEVEL} == "S" ]] && /sbin/sulogin ${CONSOLE} + [[ ${RUNLEVEL} == "S" ]] && sulogin ${CONSOLE} exit 0 fi