aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-aliases
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-06-29 22:18:09 +0000
committerBill Nottingham <notting@redhat.com>2001-06-29 22:18:09 +0000
commitf1a7234440ef762a3f659fe3c6dc4f5bfe8234f1 (patch)
tree0e8eea09ea33b85528acce0e052ea3371b515c25 /sysconfig/network-scripts/ifup-aliases
parent09f3739f065703adf268e1d6df48556b430a9dd5 (diff)
downloadinitscripts-f1a7234440ef762a3f659fe3c6dc4f5bfe8234f1.tar
initscripts-f1a7234440ef762a3f659fe3c6dc4f5bfe8234f1.tar.gz
initscripts-f1a7234440ef762a3f659fe3c6dc4f5bfe8234f1.tar.bz2
initscripts-f1a7234440ef762a3f659fe3c6dc4f5bfe8234f1.tar.xz
initscripts-f1a7234440ef762a3f659fe3c6dc4f5bfe8234f1.zip
run more stuff with C locale, mark some more strings for translation
Diffstat (limited to 'sysconfig/network-scripts/ifup-aliases')
-rwxr-xr-xsysconfig/network-scripts/ifup-aliases2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-aliases b/sysconfig/network-scripts/ifup-aliases
index 1ba0a5e5..84d37200 100755
--- a/sysconfig/network-scripts/ifup-aliases
+++ b/sysconfig/network-scripts/ifup-aliases
@@ -266,7 +266,7 @@ function new_interface ()
if [ "${GATEWAY}" != "" ]; then
if [ "${GATEWAYDEV}" = "" -o "${GATEWAYDEV}" = "${DEVICE}" ]; then
# set up default gateway, if it isn't already there
- CURGW=`route -n | grep ^0\.0\.0\.0 | awk '{ print $2 }'`
+ CURGW=`LC_ALL=C route -n | grep ^0\.0\.0\.0 | awk '{ print $2 }'`
if [ "$CURGW" != "$GATEWAY" ]; then
route add default gw ${GATEWAY} ${DEVICE}
fi