aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-05-28 10:57:54 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-05-28 10:57:54 -0300
commit71a735a938f588ca8fdf452a526006412241da10 (patch)
treecbc4f751b8e014e41ae08b376434993cbf370512
parent586bd4d8a35605801feda9f31805de03813e4ea9 (diff)
downloadpuppet-nodo-71a735a938f588ca8fdf452a526006412241da10.tar.gz
puppet-nodo-71a735a938f588ca8fdf452a526006412241da10.tar.bz2
Fixing system shell startup
-rw-r--r--files/etc/rc.local2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/etc/rc.local b/files/etc/rc.local
index c8cefc2..048710a 100644
--- a/files/etc/rc.local
+++ b/files/etc/rc.local
@@ -37,7 +37,7 @@ fi
# Start system-wide screen session
if [ -f "/etc/screenrc.startup" ]; then
- /usr/bin/screen -d -m -S root -c /etc/screenrc.startup
+ ( cd /root && HOME=/root /usr/bin/screen -d -m -S root -c /etc/screenrc.startup )
fi
# Then exit