aboutsummaryrefslogtreecommitdiff
path: root/files/etc/rc.local
diff options
context:
space:
mode:
Diffstat (limited to 'files/etc/rc.local')
-rw-r--r--files/etc/rc.local5
1 files changed, 5 insertions, 0 deletions
diff --git a/files/etc/rc.local b/files/etc/rc.local
index 4b8a41e..c9a8046 100644
--- a/files/etc/rc.local
+++ b/files/etc/rc.local
@@ -35,5 +35,10 @@ if [ -f '/etc/init.d/shorewall' ]; then
/etc/init.d/shorewall restart
fi
+# Start system-wide screen session
+if [ -f "/etc/screenrc.startup" ]; then
+ /usr/bin/screen -d -m -S root -f /etc/screenrc.startup
+fi
+
# Then exit
exit 0