From 71a735a938f588ca8fdf452a526006412241da10 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 28 May 2013 10:57:54 -0300 Subject: Fixing system shell startup --- files/etc/rc.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files') 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 -- cgit v1.2.3