aboutsummaryrefslogtreecommitdiff
path: root/files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'files/etc')
-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