Add VERBOSE message for the IS_TTYC0SECURE check

This commit is contained in:
Tristan PILAT 2019-03-22 17:21:43 +01:00
parent e3f0b45724
commit 5d5291f08d

View file

@ -283,6 +283,9 @@ fi
if [ "$IS_TTYC0SECURE" = 1 ]; then
grep -Eqv "^ttyC0.*secure$" /etc/ttys || echo 'IS_TTYC0SECURE FAILED!'
if [[ "$VERBOSE" == 1 ]]; then
echo "First tty should be secured"
fi
fi
if [ "$IS_CUSTOMSYSLOG" = 1 ]; then