diff options
Diffstat (limited to 'root/.shrc')
-rw-r--r-- | root/.shrc | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,2 +1,5 @@ -/etc/rc.initial -exit +# Detect interactive logins and display the shell +if [ `env | grep SSH_TTY | wc -l` -gt 0 ] || [ `env | grep cons25 | wc -l` -gt 0 ]; then + /etc/rc.initial + exit +fi |