summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rc.d/pbot-ng6
1 files changed, 6 insertions, 0 deletions
diff --git a/rc.d/pbot-ng b/rc.d/pbot-ng
index f451519..77c085e 100644
--- a/rc.d/pbot-ng
+++ b/rc.d/pbot-ng
@@ -3,6 +3,12 @@
. /etc/rc.conf
. /etc/rc.d/functions
+# Set the locale
+export LANG=${LOCALE:-C}
+if [[ -r /etc/locale.conf ]]; then
+ parse_envfile /etc/locale.conf "${localevars[@]}"
+fi
+
declare -a pids
while read -r line