summaryrefslogtreecommitdiffstats
path: root/etc/skel/dot.profile
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-06-08 08:23:03 -0400
committerjim-p <jimp@pfsense.org>2015-06-08 08:25:00 -0400
commitd969299690bbe14cdcc0241c1df4b21d15ef206a (patch)
treef7ffec05c6ed7bc84b1d289871db65bcae0f75a7 /etc/skel/dot.profile
parent5b2b1f4e57caec234fbc1ed1d61b28a79e67ef8c (diff)
downloadpfsense-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.profile5
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
OpenPOWER on IntegriCloud