[baseimage]: Increase TMOUT for serial port connections to 15 minutes (#3032)

Increase TMOUT value in order to close inactive serial console connections after 900 seconds (15 minutes) of inactivity
This commit is contained in:
Joe LeVeque 2019-06-19 00:16:01 -07:00 committed by Ying Xie
parent c9748dd85c
commit 02fc1306b0

View File

@ -54,5 +54,5 @@ if [ -x /usr/lib/command-not-found -o -x /usr/share/command-not-found/command-no
} }
fi fi
# enable auto-logout for console ttyS* sessions # Automatically log out console ttyS* sessions after 15 minutes of inactivity
tty | grep ttyS >/dev/null && TMOUT=300 tty | grep ttyS >/dev/null && TMOUT=900