|
|
|
@ -5,6 +5,7 @@ dnl --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
|
dnl This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
|
dnl |
|
|
|
|
dnl Filename: package/.../sysvinit/init_macros.m4 |
|
|
|
|
dnl Copyright (C) 2010 The OpenSDE Project |
|
|
|
|
dnl Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
|
dnl Copyright (C) 1998 - 2003 Clifford Wolf |
|
|
|
|
dnl |
|
|
|
@ -50,9 +51,9 @@ ifelse(initstyle, `sysv_nice', `
|
|
|
|
|
status() { |
|
|
|
|
if [ `$'error -eq 0 ] |
|
|
|
|
then |
|
|
|
|
echo -e "\e[1A\e[222G\e[4D\e[32m :-)\e[0m" |
|
|
|
|
echo -e "\e[1A\e[222G\e[4D\e[32m [OK]\e[0m" |
|
|
|
|
else |
|
|
|
|
echo -e "\e[1A\e[222G\e[4D\a\e[1;31m :-(\e[0m" |
|
|
|
|
echo -e "\e[1A\e[222G\e[8D\a\e[1;31m [FAILED]\e[0m" |
|
|
|
|
fi |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|