Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/etc/rc.d/downinterfaces,v retrieving revision 1.4 retrieving revision 1.5 diff -u -p -r1.4 -r1.5 --- src/etc/rc.d/downinterfaces 2002/08/16 18:05:19 1.4 +++ src/etc/rc.d/downinterfaces 2004/10/11 15:00:51 1.5 @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: downinterfaces,v 1.4 2002/08/16 18:05:19 martin Exp $ +# $NetBSD: downinterfaces,v 1.5 2004/10/11 15:00:51 christos Exp $ # # PROVIDE: downinterfaces @@ -10,7 +10,7 @@ if [ "x$1" = "xstop" ]; then . /etc/rc.conf -tmp=`ifconfig -lu` +tmp=$(ifconfig -lu) iflist="" for int in $tmp; do case $int in