diff options
author | Judd Vinet <judd@archlinux.org> | 2003-12-21 00:48:23 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2003-12-21 00:48:23 +0000 |
commit | a71e42c461da1672582143a829654049399616e7 (patch) | |
tree | 5a3c3e41a80a1781198159988e2ddf44a8395edb /rc.single | |
parent | 53ae13821436183990e40cffefa8c9cff4b4f2ae (diff) |
upgpkg: initscripts 0.6
Diffstat (limited to 'rc.single')
-rwxr-xr-x | rc.single | 21 |
1 files changed, 12 insertions, 9 deletions
@@ -30,21 +30,24 @@ if [ "$PREVLEVEL" != "N" ]; then stat_done stat_busy "Sending SIGKILL To Processes" - /sbin/killall5 -9 &> /dev/null + /sbin/killall5 -9 + /usr/bin/sleep 1 stat_done - stat_busy "Starting DevFS Daemon" - /sbin/devfsd /dev - stat_done + status "Starting DevFS Daemon" /sbin/devfsd /dev - stat_busy "Starting Log Daemons" - /usr/sbin/syslogd -m 0 - /usr/sbin/klogd -c 4 - stat_done + [ -x /etc/rc.d/syslogd ] && /etc/rc.d/syslogd start + [ -x /etc/rc.d/klogd ] && /etc/rc.d/klogd start fi if [ "$RUNLEVEL" = "1" ]; then - echo "Entering single-user mode..." + if [ "$USECOLOR" = "YES" -o "$USECOLOR" = "yes" ]; then + echo -e "\033[1;32m|\033[1;0m" + echo -e "\033[1;31m| \033[1;33mEntering single-user mode...\033[1;0m" + else + echo "|" + echo "| Entering single-user mode..." + fi exec /sbin/init -t1 S fi |