]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Setting LANG on startup root screen
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 14 Jun 2014 15:07:35 +0000 (12:07 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 14 Jun 2014 15:07:35 +0000 (12:07 -0300)
files/etc/rc.local

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