diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-05-26 22:26:43 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-05-26 22:26:43 -0300 |
commit | ec572315080690b9d7f1930fd175403aa004d8ab (patch) | |
tree | f536a788e2ce5f5f7f501f5c7d30b5492f2d529a /files/etc/rc.local | |
parent | e96c97b4a3468b9c164f3bfcfc7db969f441e49b (diff) | |
download | puppet-nodo-ec572315080690b9d7f1930fd175403aa004d8ab.tar.gz puppet-nodo-ec572315080690b9d7f1930fd175403aa004d8ab.tar.bz2 |
Adding system-wide screen session
Diffstat (limited to 'files/etc/rc.local')
-rw-r--r-- | files/etc/rc.local | 5 |
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 |