]> git.pld-linux.org Git - packages/rc-scripts.git/commitdiff
- fix for et_EE locale (possibly hu_HU too)
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 7 Jul 2005 16:34:37 +0000 (16:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rc-scripts-az-locale.patch -> 1.1

rc-scripts-az-locale.patch [new file with mode: 0644]

diff --git a/rc-scripts-az-locale.patch b/rc-scripts-az-locale.patch
new file mode 100644 (file)
index 0000000..3138bf4
--- /dev/null
@@ -0,0 +1,40 @@
+make it work in locales where [a-z] DOES NOT DEFINE WHOLE ALPHABET, like et_EE locale
+
+--- ./rc.d/init.d/network.america-rules        2005-07-07 19:28:21.000000000 +0300
++++ ./rc.d/init.d/network      2005-07-07 19:27:25.000000000 +0300
+@@ -134,7 +134,7 @@
+               . /etc/rc.d/init.d/functions; \
+               cd /etc/sysconfig/interfaces && ls -1 ifcfg* | \
+               egrep -v '(ifcfg-lo|ifcfg-sit|ifcfg-atm|ifcfg-lec|ifcfg-nas|ifcfg-br|ifcfg-(.*)\.(.*))' | \
+-              egrep 'ifcfg-[a-z0-9\.:]+$' | \
++              LC_ALL=C egrep 'ifcfg-[a-z0-9\.:]+$' | \
+               for i in `cat`; do \
+                   ONBOOT=""; . /etc/sysconfig/interfaces/"$i"; is_yes "$ONBOOT" && echo "$i"; \
+               done | \
+@@ -143,7 +143,7 @@
+               . /etc/rc.d/init.d/functions; \
+               cd /etc/sysconfig/interfaces && ls -1 ifcfg* | \
+               egrep 'ifcfg-(.*)\.(.*)' | \
+-              egrep 'ifcfg-[a-z0-9\.]+$' | \
++              LC_ALL=C egrep 'ifcfg-[a-z0-9\.]+$' | \
+               for i in `cat`; do \
+                   ONBOOT=""; . /etc/sysconfig/interfaces/"$i"; is_yes "$ONBOOT" && echo "$i"; \
+               done | \
+@@ -151,7 +151,7 @@
+       interfaces_br_boot=$((
+               . /etc/rc.d/init.d/functions; \
+               cd /etc/sysconfig/interfaces && ls -1 ifcfg-br* | \
+-              egrep 'ifcfg-[a-z0-9\.]+$' | \
++              LC_ALL=C egrep 'ifcfg-[a-z0-9\.]+$' | \
+               for i in `cat`; do \
+                   ONBOOT=""; . /etc/sysconfig/interfaces/"$i"; is_yes "$ONBOOT" && echo "$i"; \
+               done | \
+@@ -159,7 +159,7 @@
+       interfaces_sit_boot=$((
+               . /etc/rc.d/init.d/functions; \
+               cd /etc/sysconfig/interfaces && ls -1 ifcfg-sit* | \
+-              egrep 'ifcfg-[a-z0-9]+$' | \
++              LC_ALL=C egrep 'ifcfg-[a-z0-9]+$' | \
+               for i in `cat`; do \
+                   ONBOOT=""; . /etc/sysconfig/interfaces/"$i"; is_yes "$ONBOOT" && echo "$i"; \
+               done | \
This page took 0.036337 seconds and 4 git commands to generate.