diff options
author | Bill Nottingham <notting@redhat.com> | 2001-01-02 22:42:09 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-01-02 22:42:09 +0000 |
commit | 7ed6e7f4fbbde532e3cc0c9f5ccaa0a114dfbee8 (patch) | |
tree | 8fe8e14c01f63f321ab529edd56023ec15748633 /sysconfig/network-scripts/ifup-ppp | |
parent | cb5252165b2406727af56dc1710329eec744c65c (diff) | |
download | initscripts-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-ppp')
-rwxr-xr-x | sysconfig/network-scripts/ifup-ppp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sysconfig/network-scripts/ifup-ppp b/sysconfig/network-scripts/ifup-ppp index af44875d..0bdcc591 100755 --- a/sysconfig/network-scripts/ifup-ppp +++ b/sysconfig/network-scripts/ifup-ppp @@ -3,6 +3,8 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin cd /etc/sysconfig/network-scripts . network-functions +. /etc/rc.d/init.d/functions + # ifup-post for PPP is handled through /etc/ppp/ip-up @@ -42,10 +44,10 @@ if [ "${2}" = "boot" -a "${ONBOOT}" = "no" ]; then fi [ -x /usr/sbin/pppd ] || { - echo "/usr/sbin/pppd does not exist or is not executable" - echo "ifup-ppp for ${DEVICE} exiting" + gprintf "/usr/sbin/pppd does not exist or is not executable\n" + gprintf "ifup-ppp for %s exiting\n" "${DEVICE}" logger -p daemon.info -t ifup-ppp \ - "/usr/sbin/pppd does not exist or is not executable for ${DEVICE}" + `gprintf "/usr/sbin/pppd does not exist or is not executable for %s\n" "${DEVICE}"` exit 1 } @@ -53,7 +55,7 @@ fi echo "/etc/sysconfig/network-scripts/chat-${DEVICE} does not exist" echo "ifup-ppp for ${DEVICE} exiting" logger -p daemon.info -t ifup-ppp \ - "/etc/sysconfig/network-scripts/chat-${DEVICE} does not exist for ${DEVICE}" + `gprintf "/etc/sysconfig/network-scripts/chat-%s does not exist for %s" "${DEVICE}" "${DEVICE}"` exit 1 } |