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 /cron-sh/diff_check.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 'cron-sh/diff_check.sh')
-rwxr-xr-x | cron-sh/diff_check.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cron-sh/diff_check.sh b/cron-sh/diff_check.sh index 4d6c89f..2448481 100755 --- a/cron-sh/diff_check.sh +++ b/cron-sh/diff_check.sh @@ -10,7 +10,7 @@ else exit 1 fi -if [ SECURITY_CHECK == "no" ]; then +if [ "${CHECK_SECURITY}" == "no" ]; then exit 0 fi @@ -57,7 +57,7 @@ rm -f ${TMP} ${SECURITY_TMP} >& /dev/null ### Functions ### Syslog() { - if [ $SYS_LOG=="yes" ]; then + if [ ${SYSLOG_WARN}=="yes" ]; then cat ${1} | while read line; do /sbin/initlog --string="${line}" done @@ -65,7 +65,7 @@ Syslog() { } Ttylog() { - if [ $TTY_LOG=="yes" ]; then + if [ ${TTY_WARN}=="yes" ]; then for i in `w | grep -v "load\|TTY" | awk '{print $2}'` ; do echo -e "$1" > /dev/$i done |