aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-sl
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-01-02 22:42:09 +0000
committerBill Nottingham <notting@redhat.com>2001-01-02 22:42:09 +0000
commit7ed6e7f4fbbde532e3cc0c9f5ccaa0a114dfbee8 (patch)
tree8fe8e14c01f63f321ab529edd56023ec15748633 /sysconfig/network-scripts/ifup-sl
parentcb5252165b2406727af56dc1710329eec744c65c (diff)
downloadinitscripts-7ed6e7f4fbbde532e3cc0c9f5ccaa0a114dfbee8.tar
initscripts-7ed6e7f4fbbde532e3cc0c9f5ccaa0a114dfbee8.tar.gz
initscripts-7ed6e7f4fbbde532e3cc0c9f5ccaa0a114dfbee8.tar.bz2
initscripts-7ed6e7f4fbbde532e3cc0c9f5ccaa0a114dfbee8.tar.xz
initscripts-7ed6e7f4fbbde532e3cc0c9f5ccaa0a114dfbee8.zip
Big i18n commit. From Conectiva, originally.
Diffstat (limited to 'sysconfig/network-scripts/ifup-sl')
-rwxr-xr-xsysconfig/network-scripts/ifup-sl10
1 files changed, 6 insertions, 4 deletions
diff --git a/sysconfig/network-scripts/ifup-sl b/sysconfig/network-scripts/ifup-sl
index 45432d52..2b53b93e 100755
--- a/sysconfig/network-scripts/ifup-sl
+++ b/sysconfig/network-scripts/ifup-sl
@@ -1,5 +1,7 @@
#!/bin/sh
+TEXTDOMAIN=initscripts
PATH=/sbin:/usr/sbin:/bin:/usr/bin
+. /etc/rc.d/init.d/functions
# ifup-post can't be done for slip :-( Solution: use PPP
@@ -28,8 +30,8 @@ if [ -z "$RETRYTIMEOUT" ]; then
fi
[ -x /usr/sbin/dip ] || {
- echo "/usr/sbin/dip does not exist or is not executable"
- echo "ifup-sl for $DEVICE exiting"
+ gprintf "%s does not exist or is not executable\n" "/usr/sbin/dip"
+ gprintf "%s for %s exiting\n" "ifup-sl" "$DEVICE"
logger -p daemon.info -t ifup-sl \
"/usr/sbin/dip does not exist or is not executable for $DEVICE"
exit 1
@@ -40,8 +42,8 @@ DIPSCRIPT=/etc/sysconfig/network-scripts/dip-$DEVNAME
DIPSCRIPT=/etc/sysconfig/network-scripts/dip-$PARENTDEVNAME
}
[ -f $DIPSCRIPT ] || {
- echo "/etc/sysconfig/network-scripts/dip-$DEVICE does not exist"
- echo "ifup-sl for $DEVICE exiting"
+ gprintf "%s does not exist\n" "/etc/sysconfig/network-scripts/dip-$DEVICE"
+ gprintf "%s for %s exiting\n" "ifup-sl" "$DEVICE"
logger -p daemon.info -t ifup-sl \
"/etc/sysconfig/network-scripts/dip-$DEVICE does not exist for $DEVICE"
exit 1