[baseimage]: enable auto logout for console (ttyS*) sessions (#1398)
This commit is contained in:
parent
843dcd5eb2
commit
f657df7588
@ -53,3 +53,6 @@ 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
|
||||
tty | grep ttyS >/dev/null && TMOUT=300
|
||||
|
Loading…
Reference in New Issue
Block a user