Initial commit

This commit is contained in:
lw-everestlinux
2022-09-13 17:52:14 -04:00
commit 76ce8eab95
8 changed files with 328 additions and 0 deletions

21
clfs/rc.d/init.d/functions Executable file
View File

@@ -0,0 +1,21 @@
# Common Routines
#
# Default Path for scripts
#
PATH=/bin:/sbin:/usr/bin:/usr/sbin
# Check status and print
# OK or FAIL
#
check_status()
{
local ERR=$?
echo -en "\\033[65G"
if [ $ERR = 0 ]; then
echo -en "\\033[1;32mOK"
else
echo -en "\\033[1;31mFAIL"
fi
echo -e "\\033[0;39m"
}