From 15cf5616a22ee439df57846774e2f6d524a8c713 Mon Sep 17 00:00:00 2001 From: Yoann Vandoorselaere Date: Thu, 9 Dec 1999 14:48:19 +0000 Subject: *** empty log message *** --- init-sh/lib.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'init-sh') diff --git a/init-sh/lib.sh b/init-sh/lib.sh index 302cebc..ec14082 100644 --- a/init-sh/lib.sh +++ b/init-sh/lib.sh @@ -4,7 +4,7 @@ # # Need root access -if [ $UID != 0 ]; then +if [ ${UID} != 0 ]; then echo "You need to be root in order to change secure level." exit 1 fi @@ -96,13 +96,13 @@ CommentUserRules() { } Syslog() { - if [ "${SYS_LOG}" == "yes" ]; then + if [ "${SYSLOG_WARN}" == "yes" ]; then /sbin/initlog --string=${1} fi } Ttylog() { - if [ "${TTY_LOG}" == "yes" ]; then + if [ "${TTY_WARN}" == "yes" ]; then w | grep -v "load\|TTY" | awk '{print $2}' | while read line; do echo -e ${1} > /dev/$i done -- cgit v1.2.1