diff options
author | Yoann Vandoorselaere <yoann@mandriva.com> | 1999-12-09 14:48:19 +0000 |
---|---|---|
committer | Yoann Vandoorselaere <yoann@mandriva.com> | 1999-12-09 14:48:19 +0000 |
commit | 15cf5616a22ee439df57846774e2f6d524a8c713 (patch) | |
tree | 200773517269576379a53fdbd07bd8ae97e22baf /init-sh/lib.sh | |
parent | 588989f7a9faeda91f9b9bfdebf67fab5ba3f422 (diff) | |
download | msec-15cf5616a22ee439df57846774e2f6d524a8c713.tar msec-15cf5616a22ee439df57846774e2f6d524a8c713.tar.gz msec-15cf5616a22ee439df57846774e2f6d524a8c713.tar.bz2 msec-15cf5616a22ee439df57846774e2f6d524a8c713.tar.xz msec-15cf5616a22ee439df57846774e2f6d524a8c713.zip |
*** empty log message ***
Diffstat (limited to 'init-sh/lib.sh')
-rw-r--r-- | init-sh/lib.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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 |