Warning!

Notice: the grml team is migrating from Mercurial to Git.
Please visit git.grml.org instead!

export LANG=C in grml-pptp*/grml-vpnc-tugraz scripts
authorMichael Prokop <mika@grml.org>
Sat Jan 26 00:14:48 2008 +0100 (10 months ago)
changeset 651707169ac7b4
manifest1707169ac7b4
parent 6449f0e30c3e1a
child 667bb4efc6877e
tag0.2.0
export LANG=C in grml-pptp*/grml-vpnc-tugraz scripts
debian/changelog
sbin/grml-pptp-inode
sbin/grml-pptp-vcgraz
sbin/grml-pptp-xdsl-students
sbin/grml-vpnc-tugraz
--- a/debian/changelog Sun Jan 20 19:59:18 2008 +0100
+++ b/debian/changelog Sat Jan 26 00:14:48 2008 +0100
@@ -1,3 +1,11 @@ grml-network (0.1.18) unstable; urgency=
+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 <mika@grml.org> Sat, 26 Jan 2008 00:13:42 +0100
+
grml-network (0.1.18) unstable; urgency=low
* netcardconfig: check for presence of /proc/net/dev.
--- a/sbin/grml-pptp-inode Sun Jan 20 19:59:18 2008 +0100
+++ b/sbin/grml-pptp-inode Sat Jan 26 00:14:48 2008 +0100
@@ -4,7 +4,7 @@
# Authors: grml-team (grml.org), (c) Andreas Gredler <jimmy@grml.org>
# 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
--- a/sbin/grml-pptp-vcgraz Sun Jan 20 19:59:18 2008 +0100
+++ b/sbin/grml-pptp-vcgraz Sat Jan 26 00:14:48 2008 +0100
@@ -4,7 +4,7 @@
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# 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
--- a/sbin/grml-pptp-xdsl-students Sun Jan 20 19:59:18 2008 +0100
+++ b/sbin/grml-pptp-xdsl-students Sat Jan 26 00:14:48 2008 +0100
@@ -4,7 +4,7 @@
# Authors: grml-team (grml.org), (c) Martin Hecher <hecka@grml.org>
# 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
--- a/sbin/grml-vpnc-tugraz Sun Jan 20 19:59:18 2008 +0100
+++ b/sbin/grml-vpnc-tugraz Sat Jan 26 00:14:48 2008 +0100
@@ -4,14 +4,14 @@
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# 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