]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Fixing system shell startup
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 28 May 2013 13:57:54 +0000 (10:57 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 28 May 2013 13:57:54 +0000 (10:57 -0300)
files/etc/rc.local

index c8cefc233ad007986f6241043bbc2911df573ce4..048710a1427c465f292b5196d3ffab993fca93c3 100644 (file)
@@ -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