diff options
author | mtm <mtm@FreeBSD.org> | 2008-06-23 20:50:11 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2008-06-23 20:50:11 +0000 |
commit | ebef621a5c0d1fa0503febee26676d0844ab24a3 (patch) | |
tree | 35e85abf7532288a30c2f648031caa7df68cfbbf /etc/network.subr | |
parent | 24cfc8496479cf1dd0d9705cc8c7caa9002ba3db (diff) | |
download | FreeBSD-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/network.subr')
-rw-r--r-- | etc/network.subr | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/etc/network.subr b/etc/network.subr index 5976c4f..edeea0e 100644 --- a/etc/network.subr +++ b/etc/network.subr @@ -48,10 +48,6 @@ ifn_start() ipx_up ${ifn} && cfg=0 childif_create ${ifn} - if [ "$cfg" -eq 0 ]; then - ifconfig ${ifn} - fi - return $cfg } @@ -73,10 +69,6 @@ ifn_stop() ifscript_down ${ifn} && cfg=0 childif_destroy ${ifn} - if [ "$cfg" -eq 0 ]; then - echo -n " ${ifn}" - fi - return $cfg } |