aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-06-14 12:07:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-06-14 12:07:35 -0300
commit3efc1e2fce6a3ea6734a099d3cd1989b7e7f35a8 (patch)
treea64f8cb3942007a5675b6c6d23573f516ace2bb8
parent4aac7f8e50ee5ddbfa11cd8e89e2287892b19b80 (diff)
downloadpuppet-nodo-3efc1e2fce6a3ea6734a099d3cd1989b7e7f35a8.tar.gz
puppet-nodo-3efc1e2fce6a3ea6734a099d3cd1989b7e7f35a8.tar.bz2
Setting LANG on startup root screen
-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 048710a..4ce3a3a 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
- ( cd /root && HOME=/root /usr/bin/screen -d -m -S root -c /etc/screenrc.startup )
+ ( . /etc/default/locale && cd /root && HOME=/root LANG=$LANG /usr/bin/screen -d -m -S root -c /etc/screenrc.startup )
fi
# Then exit