slitaz-base-files rev 5

rc.functions goes in slitaz-boot-scripts
author Christophe Lincoln <pankso@slitaz.org>
date Fri Feb 15 14:51:21 2008 +0100 (2008-02-15)
parents d0ba07ffaa36
children f34f6bb667e1
files rootfs/etc/init.d/rc.functions
line diff
     1.1 --- a/rootfs/etc/init.d/rc.functions	Sun Jan 06 19:27:52 2008 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,15 +0,0 @@
     1.4 -# /etc/init.d/rc.functions: SliTaz boot scripts functions.
     1.5 -#
     1.6 -
     1.7 -# Status functions.
     1.8 -status()
     1.9 -{
    1.10 -	local CHECK=$?
    1.11 -	echo -en "\\033[70G[ "
    1.12 -	if [ $CHECK = 0 ]; then
    1.13 -		echo -en "\\033[1;33mOK"
    1.14 -	else
    1.15 -		echo -en "\\033[1;31mFailed"
    1.16 -	fi
    1.17 -	echo -e "\\033[0;39m ]"
    1.18 -}