]> git.pld-linux.org Git - packages/rc-scripts.git/blob - rc-scripts-az-locale.patch
- also start/stop sys-chroot service by default
[packages/rc-scripts.git] / rc-scripts-az-locale.patch
1 make it work in locales where [a-z] DOES NOT DEFINE WHOLE ALPHABET, like et_EE locale
2
3 --- ./rc.d/init.d/network.america-rules 2005-07-07 19:28:21.000000000 +0300
4 +++ ./rc.d/init.d/network       2005-07-07 19:27:25.000000000 +0300
5 @@ -134,7 +134,7 @@
6                 . /etc/rc.d/init.d/functions; \
7                 cd /etc/sysconfig/interfaces && ls -1 ifcfg* | \
8                 egrep -v '(ifcfg-lo|ifcfg-sit|ifcfg-atm|ifcfg-lec|ifcfg-nas|ifcfg-br|ifcfg-(.*)\.(.*))' | \
9 -               egrep 'ifcfg-[a-z0-9\.:]+$' | \
10 +               LC_ALL=C egrep 'ifcfg-[a-z0-9\.:]+$' | \
11                 for i in `cat`; do \
12                     ONBOOT=""; . /etc/sysconfig/interfaces/"$i"; is_yes "$ONBOOT" && echo "$i"; \
13                 done | \
14 @@ -143,7 +143,7 @@
15                 . /etc/rc.d/init.d/functions; \
16                 cd /etc/sysconfig/interfaces && ls -1 ifcfg* | \
17                 egrep 'ifcfg-(.*)\.(.*)' | \
18 -               egrep 'ifcfg-[a-z0-9\.]+$' | \
19 +               LC_ALL=C egrep 'ifcfg-[a-z0-9\.]+$' | \
20                 for i in `cat`; do \
21                     ONBOOT=""; . /etc/sysconfig/interfaces/"$i"; is_yes "$ONBOOT" && echo "$i"; \
22                 done | \
23 @@ -151,7 +151,7 @@
24         interfaces_br_boot=$((
25                 . /etc/rc.d/init.d/functions; \
26                 cd /etc/sysconfig/interfaces && ls -1 ifcfg-br* | \
27 -               egrep 'ifcfg-[a-z0-9\.]+$' | \
28 +               LC_ALL=C egrep 'ifcfg-[a-z0-9\.]+$' | \
29                 for i in `cat`; do \
30                     ONBOOT=""; . /etc/sysconfig/interfaces/"$i"; is_yes "$ONBOOT" && echo "$i"; \
31                 done | \
32 @@ -159,7 +159,7 @@
33         interfaces_sit_boot=$((
34                 . /etc/rc.d/init.d/functions; \
35                 cd /etc/sysconfig/interfaces && ls -1 ifcfg-sit* | \
36 -               egrep 'ifcfg-[a-z0-9]+$' | \
37 +               LC_ALL=C egrep 'ifcfg-[a-z0-9]+$' | \
38                 for i in `cat`; do \
39                     ONBOOT=""; . /etc/sysconfig/interfaces/"$i"; is_yes "$ONBOOT" && echo "$i"; \
40                 done | \
This page took 0.035001 seconds and 3 git commands to generate.