From: Roy Marples Date: Tue, 1 May 2012 21:17:44 +0000 (+0000) Subject: Ensure that if_up and if_down are always set X-Git-Tag: v5.6.0~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=382b36e0e2b95dac93104220a508b824c7036073;p=thirdparty%2Fdhcpcd.git Ensure that if_up and if_down are always set --- diff --git a/dhcpcd-run-hooks.in b/dhcpcd-run-hooks.in index 2125f9a2..55a8f4c3 100644 --- a/dhcpcd-run-hooks.in +++ b/dhcpcd-run-hooks.in @@ -16,6 +16,9 @@ signature_base_end="# End of dhcpcd" signature_end="$signature_base_end $from $ifname" state_dir=/var/run/dhcpcd +: ${if_up:=false} +: ${if_down:=false} + # Ensure that all arguments are unique uniqify() {