[Pkg-sysvinit-commits] r1287 - in sysvinit/trunk/debian: . initscripts/etc/init.d

pere at alioth.debian.org pere at alioth.debian.org
Fri Jun 6 07:05:13 UTC 2008


Author: pere
Date: 2008-06-06 07:05:06 +0000 (Fri, 06 Jun 2008)
New Revision: 1287

Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/initscripts/etc/init.d/mountall.sh
Log:
  * Set $LANG from /etc/default/locale in mountall.sh, so that ntfs-3g and
    friends can get correct file name encodings. (Closes: #483396)

Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2008-06-05 06:41:19 UTC (rev 1286)
+++ sysvinit/trunk/debian/changelog	2008-06-06 07:05:06 UTC (rev 1287)
@@ -2,6 +2,8 @@
 
   * Fix uninitialised previous_stop caused by typo in fix for
     bug #483172 (Closes: #484607).
+  * Set $LANG from /etc/default/locale in mountall.sh, so that ntfs-3g and
+    friends can get correct file name encodings. (Closes: #483396)
 
  -- Petter Reinholdtsen <pere at debian.org>  Thu,  5 Jun 2008 08:37:11 +0200
 

Modified: sysvinit/trunk/debian/initscripts/etc/init.d/mountall.sh
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/mountall.sh	2008-06-05 06:41:19 UTC (rev 1286)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/mountall.sh	2008-06-06 07:05:06 UTC (rev 1287)
@@ -15,6 +15,12 @@
 . /lib/lsb/init-functions
 . /lib/init/mount-functions.sh
 
+# for ntfs-3g to get correct file name encoding
+if [ -r /etc/default/locale ]; then
+	. /etc/default/locale
+	export LANG
+fi
+
 do_start() {
 	#
 	# Mount local file systems in /etc/fstab.




More information about the Pkg-sysvinit-commits mailing list