projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
665fe72
)
Replace an instance of ifexists.
author
Rui Paulo <rpaulo@FreeBSD.org>
Tue, 2 Mar 2010 18:14:38 +0000 (18:14 +0000)
committer
Rui Paulo <rpaulo@FreeBSD.org>
Tue, 2 Mar 2010 18:14:38 +0000 (18:14 +0000)
etc/rc.d/netif
patch
|
blob
|
blame
|
history
diff --git
a/etc/rc.d/netif
b/etc/rc.d/netif
index
dd192cd
..
4c18ee6
100644
(file)
--- a/
etc/rc.d/netif
+++ b/
etc/rc.d/netif
@@
-252,7
+252,7
@@
childif_destroy()
child_wlans=`get_if_var $ifn wlans_IF`
for child in ${child_wlans}; do
- if ! ifexists $child; then
+ if ! `ifconfig -n $child > /dev/null 2>&1`; then
continue
fi
ifn_stop $child