]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Ensure that if_up and if_down are always set
authorRoy Marples <roy@marples.name>
Tue, 1 May 2012 21:17:44 +0000 (21:17 +0000)
committerRoy Marples <roy@marples.name>
Tue, 1 May 2012 21:17:44 +0000 (21:17 +0000)
dhcpcd-run-hooks.in

index 2125f9a2857e4a27e5e04e91c27aff59fcdfd280..55a8f4c3b67025b90b544c23cc85af21b2c8447e 100644 (file)
@@ -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()
 {