diff options
author | Mike Makonnen <mtm@FreeBSD.org> | 2008-06-23 20:50:11 +0000 |
---|---|---|
committer | Mike Makonnen <mtm@FreeBSD.org> | 2008-06-23 20:50:11 +0000 |
commit | b064049801aa5983971949de85edebe51a775fd2 (patch) | |
tree | 35e85abf7532288a30c2f648031caa7df68cfbbf /etc/pccard_ether | |
parent | a2c756715976aad86346b31787f0cf20604caaa0 (diff) | |
download | src-b064049801aa5983971949de85edebe51a775fd2.tar.gz src-b064049801aa5983971949de85edebe51a775fd2.zip |
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.
Notes
Notes:
svn path=/head/; revision=179961
Diffstat (limited to 'etc/pccard_ether')
-rwxr-xr-x | etc/pccard_ether | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/pccard_ether b/etc/pccard_ether index b284f24aa2de..841c1a086830 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 |