diff options
author | Ermal <eri@pfsense.org> | 2014-04-28 18:15:40 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-05-01 15:14:55 -0300 |
commit | c79f330d3564f8b2d4c9c97cf18b53d8458511f1 (patch) | |
tree | 675afb435c7490d826e9f4ad732d133431b388f2 | |
parent | 5216e3591c9ff046b5105517ccfc9a49716dd6f9 (diff) | |
download | pfsense-c79f330d3564f8b2d4c9c97cf18b53d8458511f1.zip pfsense-c79f330d3564f8b2d4c9c97cf18b53d8458511f1.tar.gz |
Move the sh/profile files here as a more natural place to live in.
-rw-r--r-- | root/.profile | 5 | ||||
-rw-r--r-- | root/.shrc | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/root/.profile b/root/.profile new file mode 100644 index 0000000..2252b5f --- /dev/null +++ b/root/.profile @@ -0,0 +1,5 @@ +# 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 @@ -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 |