[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:
parent
c9748dd85c
commit
02fc1306b0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user