]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- nls cleanups
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 16 May 2001 13:12:07 +0000 (13:12 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 16 May 2001 13:12:07 +0000 (13:12 +0000)
svn-id: @899

sysconfig/network-scripts/ifdown
sysconfig/network-scripts/ifup
sysconfig/network-scripts/ifup-aliases
sysconfig/network-scripts/ifup-ipx
sysconfig/network-scripts/ifup-ppp
sysconfig/network-scripts/ifup-routes
sysconfig/network-scripts/ifup-sl
sysconfig/network-scripts/tnldown
sysconfig/network-scripts/tnlup

index f7dcae441fbcba9723d271f9c4a930938caf4da9..182e416b4a55116e0de78f40adb8061215139498 100755 (executable)
@@ -1,6 +1,6 @@
 #!/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
 
@@ -21,7 +21,7 @@ fi
 DEV=$1
 
 [ -z "$DEV" ] && {
-    nls "usage: %s <device name>" "ifdown" >&2
+    nls "Usage: %s <device name>" "ifdown" >&2
     exit 1
 }
 
index 98ca4f43595675e042a10146ed795943380f9554..14774067621fa1bc1fac40a339d79ca864c3fe3d 100755 (executable)
@@ -1,6 +1,6 @@
 #!/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
 
@@ -25,7 +25,7 @@ need_hostname
 DEV=$1
 
 [ -z "$DEV" ] && {
-    nls "usage: %s <device name>" "ifup" >&2
+    nls "Usage: %s <device name>" "ifup" >&2
     exit 1
 }
 
index ff9353702f2c3a123ff3607a436ff33a846d904d..fd6dc76efd953464f0eea2be5e3e6ecf80360682 100755 (executable)
@@ -1,6 +1,6 @@
 #!/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
 
@@ -12,7 +12,7 @@
 DEV=$1
 
 [ -z "$DEV" ] && {
-    nls "usage: %s <device name>" "ifup-aliases" >&2
+    nls "Usage: %s <device name>" "ifup-aliases" >&2
     exit 1
 }
 
index d7b60443eaad693d98a0a585af91578b151e67d8..2ca4c5f6e089412a478dfb027d7f5ed886129d0b 100755 (executable)
@@ -1,6 +1,6 @@
 #!/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
 
@@ -11,7 +11,7 @@
 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
 
index 7c439847ec03148188d379a0e5712429744d6ca6..4c38ce5085d9f2677e17c16d493217c0b04716c6 100755 (executable)
@@ -1,6 +1,6 @@
 #!/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>
@@ -35,10 +35,10 @@ if [ "$2" = "boot" ] && is_no "${ONBOOT}"; then
   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
 }
 
index 69ce13aad3fbfc908629e28306f4bd454cee89ad..f6e2bafa8287486f16a55232cf6f3aa28b793fac 100755 (executable)
@@ -1,6 +1,6 @@
 #!/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
 
@@ -11,7 +11,7 @@
 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
 
index 5ead31a2906d55aae99d7f82cf08409db4f25b15..a4b714de3f274c0ffc339fdb1303558d0676378d 100755 (executable)
@@ -1,6 +1,6 @@
 #!/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
 
@@ -42,10 +42,10 @@ fi
 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
 }
 
@@ -88,7 +88,7 @@ else
        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
 }
 
index cbc6bfa1d966c92b7c7b7afa75365f9d8f278e03..53adb3d4f489db798ac3b14ee0673469a95a2450 100755 (executable)
@@ -17,7 +17,7 @@
 #    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
@@ -27,7 +27,7 @@
 DEV=$1
 
 [ -z "$DEV" ] && {
-    nls "usage: %s <device name>" "tnldown" >&2
+    nls "Usage: %s <device name>" "tnldown" >&2
     exit 1
 }
 
index 30b5d37054e788c2686388bb698339c71cda896b..35ed0875084ff6c2283074bb061ba20de1205f25 100755 (executable)
@@ -17,7 +17,7 @@
 #    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
@@ -27,7 +27,7 @@
 DEV=$1
 
 [ -z "$DEV" ] && {
-    nls "usage: %s <device name>" "tnlup" >&2
+    nls "Usage: %s <device name>" "tnlup" >&2
     exit 1
 }
 
This page took 0.08646 seconds and 4 git commands to generate.