----- Original Message -----
From: "David Haller"
ifacestatus=( $(ifconfig) )
export LANG=de_DE ifacestatus=( $(ifconfig) ) => Kaboom! for the following. Yes, it's understandable for you not to think of that ;) Weirdly enough, I can't get my ifconfig to output the german version, but I've seen it often enough. So: use ifacestatus=( $(LC_ALL=C ifconfig) ) to reliably get the english version of the output. Ah, here's a sample how the german version of ifconfig-output looks like [from http://www.fibel.org/linux/lfo-0.6.0/node476.html ] eth0 Protokoll:Ethernet Hardware Adresse 00:E0:18:1B:21:55 inet Adresse:10.0.1.3 Bcast:10.0.1.255 Maske:255.255.255.0 inet6 Adresse: fe80::2e0:18ff:fe1b:2155/10 G-Aültigkeitsbereich:Verbindung-b UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenl-Aänge:100-b RX bytes:0 (0.0 b) TX bytes:288 (288.0 b) Interrupt:9 Basisadresse:0x7c00 Ain't that nice? ;) Now add in what Wong might use (Chinese? Encoded as what?) Much fun ensues. NOT! For the rest of the script, much of my other mail seems to apply. -dnh ------------------------------ Hi, Just tried the script with result: 1. The version interface check, cause my other Ethernet down after reseting modem, but dsl0 and eth0 run. Not tested with after.local 2. The version link check (ping), cause network restart (continuosly) after reseting modem. Not tested with after.local I don't know it effected by language of OS that I am using or by other thing. My SuSE is in EN languange. However, corncerning for language is a good idea. Thanks, Wong -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org