summaryrefslogtreecommitdiffstats
path: root/etc/pccard_ether
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2008-06-23 20:50:11 +0000
committermtm <mtm@FreeBSD.org>2008-06-23 20:50:11 +0000
commitebef621a5c0d1fa0503febee26676d0844ab24a3 (patch)
tree35e85abf7532288a30c2f648031caa7df68cfbbf /etc/pccard_ether
parent24cfc8496479cf1dd0d9705cc8c7caa9002ba3db (diff)
downloadFreeBSD-src-ebef621a5c0d1fa0503febee26676d0844ab24a3.zip
FreeBSD-src-ebef621a5c0d1fa0503febee26676d0844ab24a3.tar.gz
Implement a "quiet" mode for rc.d/netif, which only outputs
the interface name of interfaces that were configured. This change has the added benefit that ifn_start() and ifn_stop() in network.subr no longer write to standard output. Whether to output and what to output is now handled entirely in rc.d/netif.
Diffstat (limited to 'etc/pccard_ether')
-rwxr-xr-xetc/pccard_ether4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/pccard_ether b/etc/pccard_ether
index b284f24..841c1a0 100755
--- a/etc/pccard_ether
+++ b/etc/pccard_ether
@@ -78,7 +78,7 @@ pccard_ether_start()
done
fi
- /etc/rc.d/netif start $ifn
+ /etc/rc.d/netif quietstart $ifn
# Do route configuration if needed.
# XXX: should probably do this by calling rc.d/routing.
@@ -99,7 +99,7 @@ pccard_ether_stop()
fi
fi
- /etc/rc.d/netif stop $ifn
+ /etc/rc.d/netif quietstop $ifn
# clean ARP table
ifexists $ifn && arp -d -i $ifn -a
OpenPOWER on IntegriCloud