diff options
author | Judd Vinet <judd@archlinux.org> | 2005-03-11 20:02:08 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2005-03-11 20:02:08 +0000 |
commit | 8aff6add70fd50b3febe363a0002098f21e2679b (patch) | |
tree | 23e82142270176251fbb0e4ce05171e763fddda6 /functions | |
parent | 22805e822d4e9fee9c1f4331dee31bccd1db45d2 (diff) |
added support for backgrounding daemons at startup with a '@' prefix, commented out the ldconfig call at startup, added support for unicode console maps, added a hotplug_ifup() function rc.d/network for hotplug's net.agent to use
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -16,6 +16,7 @@ if [ "$USECOLOR" = "YES" -o "$USECOLOR" = "yes" ]; then C_BUSY="\033[0;36m" # busy C_FAIL="\033[1;31m" # failed C_DONE="\033[1;37m" # completed + C_BKGD="\033[1;35m" # backgrounded C_H1="\033[1;37m" # highlight text 1 C_H2="\033[1;36m" # highlight text 2 @@ -42,6 +43,12 @@ printsep() { echo -e "\n$C_SEPARATOR ------------------------------\n" } +stat_bkgd() { + echo -ne "$C_OTHER$PREFIX_REG $C_MAIN$1$C_CLEAR " + deltext + echo -ne " $C_OTHER[${C_BKGD}BKGD$C_OTHER]$C_CLEAR " +} + stat_busy() { echo -ne "$C_OTHER$PREFIX_REG $C_MAIN$1$C_CLEAR " deltext |