summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index 1b705a3..d99066f 100755
--- a/etc/rc
+++ b/etc/rc
@@ -212,4 +212,10 @@ rm -rf /usr/local/pkg/pf/CVS
echo "Bootup complete"
+# if console is not locked, spawn rc.initial.
+if [ ! -f /var/etc/console_lockdown ]; then
+ /bin/sh /etc/rc.initial
+fi
+
+# console is locked, lets exit and let the login shell take over.
exit 0
OpenPOWER on IntegriCloud