Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/rc.d Fix the network_stop function so it doesn't fails d...



details:   https://anonhg.NetBSD.org/src/rev/76363456417e
branches:  trunk
changeset: 483519:76363456417e
user:      veego <veego%NetBSD.org@localhost>
date:      Sat Mar 11 20:13:42 2000 +0000

description:
Fix the network_stop function so it doesn't fails due to missing ]['s.

diffstat:

 etc/rc.d/network |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 1996e66c71f3 -r 76363456417e etc/rc.d/network
--- a/etc/rc.d/network  Sat Mar 11 20:12:22 2000 +0000
+++ b/etc/rc.d/network  Sat Mar 11 20:13:42 2000 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: network,v 1.1.1.1 2000/03/10 11:53:24 lukem Exp $
+# $NetBSD: network,v 1.2 2000/03/11 20:13:42 veego Exp $
 #
 
 # PROVIDE: network
@@ -313,7 +313,7 @@
                fi
                for int in $tmp; do
                        eval `echo 'args=$ifconfig_'$int`
-                       if [ -n "$args" || -f /etc/ifconfig.$int ]; then
+                       if [ -n "$args" ] || [ -f /etc/ifconfig.$int ]; then
                                echo -n " $int"
                                ifconfig $int down
                        fi



Home | Main Index | Thread Index | Old Index