summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUdo Richter <udo_richter@gmx.de>2009-09-20 17:11:49 +0200
committerUdo Richter <udo_richter@gmx.de>2013-10-09 22:55:54 +0200
commit2e5af6bed0e763f0c9eef28ff45775e5eae79846 (patch)
tree29f7e3911b985fbcd51a4b0e3ad01f71f836ac11
parent263f5eceaf1c73c49ed0a9e7fb8c9f1653f48265 (diff)
downloadrunvdr-extreme-2e5af6bed0e763f0c9eef28ff45775e5eae79846.tar.gz
runvdr-extreme-2e5af6bed0e763f0c9eef28ff45775e5eae79846.tar.bz2
Fix: Debian init script: Pull default locale
-rw-r--r--HISTORY3
-rwxr-xr-xinit.d.runvdr.Debian4
2 files changed, 7 insertions, 0 deletions
diff --git a/HISTORY b/HISTORY
index 5d1f4e6..41000c5 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,6 +1,9 @@
runvdr extreme Revision History
-------------------------------
+xxxx-xx-xx:
+- Fix: Debian init script: Pull default locale
+
2009-06-28: Version 0.4.2
- New: Support -i and --instance of VDR-1.7.4+
- New: Command line option to set VDR_CHARSET_OVERRIDE of VDR 1.5.18+
diff --git a/init.d.runvdr.Debian b/init.d.runvdr.Debian
index bc3d1f1..4cf5972 100755
--- a/init.d.runvdr.Debian
+++ b/init.d.runvdr.Debian
@@ -28,6 +28,10 @@ SCRIPTNAME=/etc/init.d/runvdr
# Gracefully exit if the package has been removed.
test -x $DAEMON || exit 0
+# Pull Debian default locale
+[ -e /etc/default/locale ] && . /etc/default/locale
+export LANG
+
#
# Function that starts runvdr.
#