aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-routes
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/ifup-routes')
-rwxr-xr-xsysconfig/network-scripts/ifup-routes5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-routes b/sysconfig/network-scripts/ifup-routes
index 7562d242..b4e4a98a 100755
--- a/sysconfig/network-scripts/ifup-routes
+++ b/sysconfig/network-scripts/ifup-routes
@@ -1,9 +1,12 @@
#!/bin/sh
+TEXTDOMAIN=initscripts
# adds static routes which go through device $1
+. /etc/rc.d/init.d/functions
+
if [ "$1" = "" ]; then
- echo "usage: $0 <net-device>"
+ gprintf "usage: %s <net-device>\n" "$0"
exit 1
fi