summaryrefslogtreecommitdiffstats
path: root/etc/pccard_ether
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-12-12 09:31:10 +0000
committerimp <imp@FreeBSD.org>2002-12-12 09:31:10 +0000
commitbcca72ef4de288114951edb5e0a55f8ec80c84a5 (patch)
tree15aa79b05e54553b7d748797dd23c2fc568fb0a3 /etc/pccard_ether
parentcf2d9d0438ae055e251233cccefce07e00a6d3cc (diff)
downloadFreeBSD-src-bcca72ef4de288114951edb5e0a55f8ec80c84a5.zip
FreeBSD-src-bcca72ef4de288114951edb5e0a55f8ec80c84a5.tar.gz
o redirect the grep to /dev/null
o use ifn rather than interface in rc.network o merge into rc.d/network1 Approved by: (re blanket)
Diffstat (limited to 'etc/pccard_ether')
-rwxr-xr-xetc/pccard_ether2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/pccard_ether b/etc/pccard_ether
index 93c7ca5..697b1c1 100755
--- a/etc/pccard_ether
+++ b/etc/pccard_ether
@@ -65,7 +65,7 @@ esac
case ${startstop} in
[Ss][Tt][Aa][Rr][Tt] | '')
- if ifconfig ${interface} | grep -s UP,; then
+ if ifconfig ${interface} | grep -s UP, > /dev/null 2>&1; then
# Interface is already up, so ignore it.
exit 0
fi
OpenPOWER on IntegriCloud