forked from evolix/evocheck
Adaptation in alert5 check to be compatible with Debian Squeeze
This commit is contained in:
parent
f574f646fd
commit
a71ebf147b
|
@ -153,11 +153,11 @@ if [ "$IS_TMOUTPROFILE" = 1 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$IS_ALERT5BOOT" = 1 ]; then
|
if [ "$IS_ALERT5BOOT" = 1 ]; then
|
||||||
grep ^date /etc/rc2.d/S99alert5 > /dev/null || echo 'IS_ALERT5BOOT FAILED!'
|
grep ^date /etc/rc2.d/S*alert5 > /dev/null || echo 'IS_ALERT5BOOT FAILED!'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$IS_ALERT5MINIFW" = 1 ]; then
|
if [ "$IS_ALERT5MINIFW" = 1 ]; then
|
||||||
grep ^/etc/init.d/minifirewall /etc/rc2.d/S99alert5 > /dev/null || echo 'IS_ALERT5MINIFW FAILED!'
|
grep ^/etc/init.d/minifirewall /etc/rc2.d/S*alert5 > /dev/null || echo 'IS_ALERT5MINIFW FAILED!'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$IS_NRPEPERMS" = 1 ]; then
|
if [ "$IS_NRPEPERMS" = 1 ]; then
|
||||||
|
|
Loading…
Reference in a new issue