diff options
author | jim-p <jimp@pfsense.org> | 2015-06-08 08:23:03 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-06-08 08:25:00 -0400 |
commit | d969299690bbe14cdcc0241c1df4b21d15ef206a (patch) | |
tree | f7ffec05c6ed7bc84b1d289871db65bcae0f75a7 /etc/skel/dot.profile | |
parent | 5b2b1f4e57caec234fbc1ed1d61b28a79e67ef8c (diff) | |
download | pfsense-d969299690bbe14cdcc0241c1df4b21d15ef206a.zip pfsense-d969299690bbe14cdcc0241c1df4b21d15ef206a.tar.gz |
Use skel as the source of new user files rather than copying from root.
Reported-By: https://twitter.com/fitchitis/status/607850849172373504
Diffstat (limited to 'etc/skel/dot.profile')
-rw-r--r-- | etc/skel/dot.profile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/skel/dot.profile b/etc/skel/dot.profile new file mode 100644 index 0000000..700597a --- /dev/null +++ b/etc/skel/dot.profile @@ -0,0 +1,5 @@ +# Detect interactive logins and display the shell +if [ -n "${SSH_TTY}" -o "${TERM}" = "cons25" ]; then + /etc/rc.initial + exit +fi |