From af7a30a5e458a4a8d46bd03aed355051b8147972 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sat, 26 Jan 2008 00:14:48 +0100 Subject: [PATCH] export LANG=C in grml-pptp*/grml-vpnc-tugraz scripts --- debian/changelog | 8 ++++++++ sbin/grml-pptp-inode | 4 ++-- sbin/grml-pptp-vcgraz | 6 +++--- sbin/grml-pptp-xdsl-students | 4 ++-- sbin/grml-vpnc-tugraz | 6 +++--- 5 files changed, 18 insertions(+), 10 deletions(-) diff --git a/debian/changelog b/debian/changelog index 14b35d8..67d7b4e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +grml-network (0.2.0) unstable; urgency=low + + * grml-pptp-inode, grml-pptp-vcgraz, grml-pptp-xdsl-students and + grml-vpnc-tugraz: make sure we export LANG=C so parsing ifconfig + output inside subshells works in a non-C setup as well. + + -- Michael Prokop Sat, 26 Jan 2008 00:13:42 +0100 + grml-network (0.1.18) unstable; urgency=low * netcardconfig: check for presence of /proc/net/dev. diff --git a/sbin/grml-pptp-inode b/sbin/grml-pptp-inode index 91c3dcb..2e6e5fa 100755 --- a/sbin/grml-pptp-inode +++ b/sbin/grml-pptp-inode @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Andreas Gredler # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Fre Aug 11 11:41:22 CEST 2006 [mika] +# Latest change: Sam Jän 26 00:12:46 CET 2008 [mika] ################################################################################ ################################################################################ @@ -13,7 +13,7 @@ # by Wolfgang Scheicher. ################################################################################ -LANG=C +export LANG=C if [ "$UID" != 0 ]; then # sudo $0 diff --git a/sbin/grml-pptp-vcgraz b/sbin/grml-pptp-vcgraz index 902a2ab..f9e3fdc 100755 --- a/sbin/grml-pptp-vcgraz +++ b/sbin/grml-pptp-vcgraz @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Sam Mai 27 15:12:52 CEST 2006 [mika] +# Latest change: Sam Jän 26 00:12:57 CET 2008 [mika] ################################################################################ ################################################################################ @@ -13,8 +13,8 @@ # by Wolfgang Scheicher. ################################################################################ -LANG=C -LC_ALL=C +export LANG=C +export LC_ALL=C if [ "$UID" != 0 ]; then sudo $0 diff --git a/sbin/grml-pptp-xdsl-students b/sbin/grml-pptp-xdsl-students index 5b84bec..1f549fb 100755 --- a/sbin/grml-pptp-xdsl-students +++ b/sbin/grml-pptp-xdsl-students @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Martin Hecher # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Sun Jan 15 16:19:24 CET 2006 [mika] +# Latest change: Sam Jän 26 00:13:11 CET 2008 [mika] ################################################################################ ################################################################################ @@ -15,7 +15,7 @@ # by Andreas 'Jimmy' Gredler ################################################################################ -LANG=C +export LANG=C DIALOG="dialog" if [ "$UID" != 0 ]; then diff --git a/sbin/grml-vpnc-tugraz b/sbin/grml-vpnc-tugraz index 9903ee7..de34977 100755 --- a/sbin/grml-vpnc-tugraz +++ b/sbin/grml-vpnc-tugraz @@ -4,14 +4,14 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Die Feb 27 14:14:34 CET 2007 [mika] +# Latest change: Sam Jän 26 00:12:37 CET 2008 [mika] ################################################################################ # Documentation: # http://www.zid.tugraz.at/ki/netz/extern/vpn/ -LANG=C -LC_ALL=C +export LANG=C +export LC_ALL=C if [ "$UID" != 0 ]; then sudo $0 -- 2.1.4