#!/bin/sh
#
-# $Id: ifdown,v 1.27 2001/05/15 16:03:44 baggins Exp $
+# $Id: ifdown,v 1.28 2001/05/16 13:12:07 baggins Exp $
#
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DEV=$1
[ -z "$DEV" ] && {
- nls "usage: %s <device name>" "ifdown" >&2
+ nls "Usage: %s <device name>" "ifdown" >&2
exit 1
}
#!/bin/sh
#
-# $Id: ifup,v 1.56 2001/05/15 16:03:44 baggins Exp $
+# $Id: ifup,v 1.57 2001/05/16 13:12:07 baggins Exp $
#
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DEV=$1
[ -z "$DEV" ] && {
- nls "usage: %s <device name>" "ifup" >&2
+ nls "Usage: %s <device name>" "ifup" >&2
exit 1
}
#!/bin/sh
#
-# $Id: ifup-aliases,v 1.11 2001/05/15 16:03:44 baggins Exp $
+# $Id: ifup-aliases,v 1.12 2001/05/16 13:12:07 baggins Exp $
#
# adds all addresses of device $1
DEV=$1
[ -z "$DEV" ] && {
- nls "usage: %s <device name>" "ifup-aliases" >&2
+ nls "Usage: %s <device name>" "ifup-aliases" >&2
exit 1
}
#!/bin/sh
#
-# $Id: ifup-ipx,v 1.10 2001/05/15 16:03:44 baggins Exp $
+# $Id: ifup-ipx,v 1.11 2001/05/16 13:12:07 baggins Exp $
#
# configures IPX on $1 if appropriate
PATH=/sbin:/usr/sbin:/bin:/usr/bin
if [ "$1" = "" ]; then
- nls "usage: %s <device name>" "ifup-ipx" >&2
+ nls "Usage: %s <device name>" "ifup-ipx" >&2
exit 1
fi
#!/bin/sh
#
-# $Id: ifup-ppp,v 1.15 2001/05/15 16:03:44 baggins Exp $
+# $Id: ifup-ppp,v 1.16 2001/05/16 13:12:07 baggins Exp $
#
# ifup-ppp script for pppd-2.3.5 (with persist & demand options) ver 0.2
# Grzegorz Stanislawski <stangrze@open.net.pl>
exit
fi
[ -x /usr/sbin/pppd ] || {
- nls "/usr/sbin/pppd does not exist or is not executable"
- nls "ifup-ppp for %s exiting" "$DEVICE"
+ nls "%s does not exist or is not executable" "/usr/sbin/pppd"
+ nls "%s for %s exiting" "ifup-ppp" "$DEVICE"
logger -p daemon.info -t ifup-ppp \
- "$(nls '/usr/sbin/pppd does not exist or is not executable for %s' "$DEVICE")"
+ "$(nls '%s does not exist or is not executable for %s' "/usr/sbin/pppd" "$DEVICE")"
exit 1
}
#!/bin/sh
#
-# $Id: ifup-routes,v 1.9 2001/05/15 16:03:44 baggins Exp $
+# $Id: ifup-routes,v 1.10 2001/05/16 13:12:07 baggins Exp $
#
# adds static routes which go through device $DEVICE
DEV=$1
if [ -z "$DEV" ]; then
- nls "usage: %s <device name>" "ifup-routes" >&2
+ nls "Usage: %s <device name>" "ifup-routes" >&2
exit 1
fi
#!/bin/sh
#
-# $Id: ifup-sl,v 1.18 2001/05/15 16:03:44 baggins Exp $
+# $Id: ifup-sl,v 1.19 2001/05/16 13:12:07 baggins Exp $
#
PATH=/sbin:/usr/sbin:/bin:/usr/bin
if is_no "$DIRECT_CONNECT"; then
[ -x /usr/sbin/dip ] || {
- nls "/usr/sbin/dip does not exist or is not executable"
- nls "ifup-sl for %s exiting" "$DEVICE"
+ nls "%s does not exist or is not executable" "/usr/sbin/dip"
+ nls "%s for %s exiting" "ifup-sl" "$DEVICE"
logger -p daemon.info -t ifup-sl \
- "`nls '/usr/sbin/dip does not exist or is not executable for'` $DEVICE"
+ "$(nls '%s does not exist or is not executable for %s' "/usr/sbin/dip" "$DEVICE")"
exit 1
}
nls "%s is missing. Can't continue." "/sbin/slattach"
echo "ifup-sl - $DEVICE $(nls exiting)"
logger -p daemon.info -t ifup-sl \
- "$(nls '/sbin/slattach does not exist or is not executable for %s' "$DEVICE")"
+ "$(nls '%s does not exist or is not executable for %s' "/sbin/slattach" "$DEVICE")"
exit 1
}
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-# $Id: tnldown,v 1.17 2001/05/15 16:03:44 baggins Exp $
+# $Id: tnldown,v 1.18 2001/05/16 13:12:07 baggins Exp $
#
. /etc/sysconfig/network
DEV=$1
[ -z "$DEV" ] && {
- nls "usage: %s <device name>" "tnldown" >&2
+ nls "Usage: %s <device name>" "tnldown" >&2
exit 1
}
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-# $Id: tnlup,v 1.20 2001/05/15 16:03:44 baggins Exp $
+# $Id: tnlup,v 1.21 2001/05/16 13:12:07 baggins Exp $
#
. /etc/sysconfig/network
DEV=$1
[ -z "$DEV" ] && {
- nls "usage: %s <device name>" "tnlup" >&2
+ nls "Usage: %s <device name>" "tnlup" >&2
exit 1
}