forked from evolix/evocheck
Add VERBOSE message for the IS_TTYC0SECURE check
This commit is contained in:
parent
e3f0b45724
commit
5d5291f08d
|
@ -283,6 +283,9 @@ fi
|
||||||
|
|
||||||
if [ "$IS_TTYC0SECURE" = 1 ]; then
|
if [ "$IS_TTYC0SECURE" = 1 ]; then
|
||||||
grep -Eqv "^ttyC0.*secure$" /etc/ttys || echo 'IS_TTYC0SECURE FAILED!'
|
grep -Eqv "^ttyC0.*secure$" /etc/ttys || echo 'IS_TTYC0SECURE FAILED!'
|
||||||
|
if [[ "$VERBOSE" == 1 ]]; then
|
||||||
|
echo "First tty should be secured"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$IS_CUSTOMSYSLOG" = 1 ]; then
|
if [ "$IS_CUSTOMSYSLOG" = 1 ]; then
|
||||||
|
|
Loading…
Reference in a new issue