]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
aws: Suppress any output from ending dhclient
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 1 Jul 2018 10:51:39 +0000 (11:51 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 1 Jul 2018 10:51:39 +0000 (11:51 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/system/aws

index e0bc2ef71658877a491c1a5725989d78265bc4e9..1ac19a3cb3d8f1e7e3fbf62569a37d102f25e3e4 100644 (file)
@@ -58,7 +58,7 @@ case "${1}" in
                dhclient -sf /etc/rc.d/helper/aws-setup "${intf}"
 
                # End DHCP client immediately
-               dhclient -sf /etc/rc.d/helper/aws-setup -r "${intf}"
+               dhclient -sf /etc/rc.d/helper/aws-setup -r "${intf}" &>/dev/null
                ;;
 
        status)