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.shutdown | |
parent | 53ae13821436183990e40cffefa8c9cff4b4f2ae (diff) | |
download | initscripts-a71e42c461da1672582143a829654049399616e7.tar.xz |
upgpkg: initscripts 0.6
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-x | rc.shutdown | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/rc.shutdown b/rc.shutdown index 78c85bb..4f6b6d6 100755 --- a/rc.shutdown +++ b/rc.shutdown @@ -42,6 +42,7 @@ stat_done stat_busy "Sending SIGKILL To Processes" /sbin/killall5 -9 &> /dev/null +/usr/bin/sleep 1 stat_done stat_busy "Saving Random Seed" @@ -70,21 +71,24 @@ stat_done stat_busy "Remounting Root Filesystem Read-only" /bin/mount -n -o remount,ro / stat_done -echo "" # Power off or reboot if [ "$RUNLEVEL" = "0" ]; then if [ "$USECOLOR" = "YES" -o "$USECOLOR" = "yes" ]; then - echo -e ">>> \033[1;33mPOWER OFF\033[1;0m" + echo -e "\033[1;32m|\033[1;0m" + echo -e "\033[1;31m| \033[1;33mPOWER OFF\033[1;0m" else - echo ">>> POWER OFF" + echo "|" + echo "| POWER OFF" fi /sbin/poweroff -d -f -i else if [ "$USECOLOR" = "YES" -o "$USECOLOR" = "yes" ]; then - echo -e ">>> \033[1;33mREBOOTING\033[1;0m" + echo -e "\033[1;32m|\033[1;0m" + echo -e "\033[1;31m| \033[1;33mREBOOTING\033[1;0m" else - echo ">>> REBOOTING" + echo "|" + echo "| REBOOTING" fi /sbin/reboot -d -f -i fi |