From: Silvio Rhatto Date: Tue, 28 May 2013 13:57:54 +0000 (-0300) Subject: Fixing system shell startup X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=71a735a938f588ca8fdf452a526006412241da10;p=puppet-nodo.git Fixing system shell startup --- 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