aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-sl
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-01-23 19:59:11 +0000
committerBill Nottingham <notting@redhat.com>2001-01-23 19:59:11 +0000
commita4a25465cd2844d72bf518188b813c009450f505 (patch)
tree25ca5df7db282aa4202813aba3c0e18083927c25 /sysconfig/network-scripts/ifup-sl
parentbee84f538da8b1d5885975c119bfd7fd5ae7e9a3 (diff)
downloadinitscripts-a4a25465cd2844d72bf518188b813c009450f505.tar
initscripts-a4a25465cd2844d72bf518188b813c009450f505.tar.gz
initscripts-a4a25465cd2844d72bf518188b813c009450f505.tar.bz2
initscripts-a4a25465cd2844d72bf518188b813c009450f505.tar.xz
initscripts-a4a25465cd2844d72bf518188b813c009450f505.zip
change i18n stuff around; don't call gettext explicitly, just do echo $"some string"
Diffstat (limited to 'sysconfig/network-scripts/ifup-sl')
-rwxr-xr-xsysconfig/network-scripts/ifup-sl16
1 files changed, 8 insertions, 8 deletions
diff --git a/sysconfig/network-scripts/ifup-sl b/sysconfig/network-scripts/ifup-sl
index 2b53b93e..27be5fe3 100755
--- a/sysconfig/network-scripts/ifup-sl
+++ b/sysconfig/network-scripts/ifup-sl
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
TEXTDOMAIN=initscripts
PATH=/sbin:/usr/sbin:/bin:/usr/bin
. /etc/rc.d/init.d/functions
@@ -30,10 +30,10 @@ if [ -z "$RETRYTIMEOUT" ]; then
fi
[ -x /usr/sbin/dip ] || {
- gprintf "%s does not exist or is not executable\n" "/usr/sbin/dip"
- gprintf "%s for %s exiting\n" "ifup-sl" "$DEVICE"
+ echo $"/usr/sbin/dip does not exist or is not executable"
+ echo $"ifup-sl for $DEVICE exiting"
logger -p daemon.info -t ifup-sl \
- "/usr/sbin/dip does not exist or is not executable for $DEVICE"
+ $"/usr/sbin/dip does not exist or is not executable for $DEVICE"
exit 1
}
@@ -42,17 +42,17 @@ DIPSCRIPT=/etc/sysconfig/network-scripts/dip-$DEVNAME
DIPSCRIPT=/etc/sysconfig/network-scripts/dip-$PARENTDEVNAME
}
[ -f $DIPSCRIPT ] || {
- gprintf "%s does not exist\n" "/etc/sysconfig/network-scripts/dip-$DEVICE"
- gprintf "%s for %s exiting\n" "ifup-sl" "$DEVICE"
+ echo $"/etc/sysconfig/network-scripts/dip-$DEVICE does not exist"
+ echo $"ifup-sl for $DEVICE exiting"
logger -p daemon.info -t ifup-sl \
- "/etc/sysconfig/network-scripts/dip-$DEVICE does not exist for $DEVICE"
+ $"/etc/sysconfig/network-scripts/dip-$DEVICE does not exist for $DEVICE"
exit 1
}
while : ; do
echo > /var/run/sl-$DEVICE.dev
(logger -p daemon.info -t ifup-sl \
- "dip started for $DEVICE on $MODEMPORT at $LINESPEED" &)&
+ $"dip started for $DEVICE on $MODEMPORT at $LINESPEED" &)&
doexec /usr/sbin/dip dip-$DEVICE $DIPSCRIPT
if [ "$PERSIST" != "yes" -o ! -f /var/run/sl-$DEVICE.dev ] ; then
exit 0