[arch-projects] [initscripts][PATCH 3/3] network: pass -q to dhcpcd on shutdown

Dave Reisner d at falconindy.com
Mon Mar 5 12:35:04 EST 2012


Avoid unnecessary output about sending a SIGTERM to the active PID.

Signed-off-by: Dave Reisner <dreisner at archlinux.org>
---
 network |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/network b/network
index faaac78..2439dba 100755
--- a/network
+++ b/network
@@ -52,7 +52,7 @@ network_down() {
 	have_interface "$interface" || return 1
 
 	if [[ -f /run/dhcpcd-$interface.pid ]]; then
-		dhcpcd -k $interface || return 1
+		dhcpcd -qk $interface || return 1
 	else
 		ip addr flush dev $interface || return 1
 	fi
-- 
1.7.9.2



More information about the arch-projects mailing list