From 8aff6add70fd50b3febe363a0002098f21e2679b Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Fri, 11 Mar 2005 20:02:08 +0000 Subject: 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 --- functions | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'functions') diff --git a/functions b/functions index ec3e986..347c4de 100644 --- a/functions +++ b/functions @@ -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 -- cgit v1.2.3