diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-05-28 10:57:54 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-05-28 10:57:54 -0300 |
commit | 71a735a938f588ca8fdf452a526006412241da10 (patch) | |
tree | cbc4f751b8e014e41ae08b376434993cbf370512 /files/etc/rc.local | |
parent | 586bd4d8a35605801feda9f31805de03813e4ea9 (diff) | |
download | puppet-nodo-71a735a938f588ca8fdf452a526006412241da10.tar.gz puppet-nodo-71a735a938f588ca8fdf452a526006412241da10.tar.bz2 |
Fixing system shell startup
Diffstat (limited to 'files/etc/rc.local')
-rw-r--r-- | files/etc/rc.local | 2 |
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 |