summaryrefslogtreecommitdiffstats
path: root/root/.profile
diff options
context:
space:
mode:
Diffstat (limited to 'root/.profile')
-rw-r--r--root/.profile5
1 files changed, 5 insertions, 0 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
OpenPOWER on IntegriCloud