summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-01-22 23:54:53 +0000
committerRoy Marples <roy@marples.name>2009-01-22 23:54:53 +0000
commitf81197e964ed773c2c940e5efc895a61ac803ab3 (patch)
tree31f7d94732ece79720159de336078534fbd13a54
parentd2ddb0e68d36fd5a8f5cda944176a68de0a0ded2 (diff)
downloaddhcpcd-f81197e964ed773c2c940e5efc895a61ac803ab3.tar.xz
nohook 20-resolv.conf should work now.
-rw-r--r--dhcpcd-run-hooks.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpcd-run-hooks.in b/dhcpcd-run-hooks.in
index b3c7e06e..a848260d 100644
--- a/dhcpcd-run-hooks.in
+++ b/dhcpcd-run-hooks.in
@@ -127,7 +127,7 @@ for hook in \
do
for skip in ${skip_hooks}; do
case "${hook}" in
- "${skip}") continue 2;;
+ */"${skip}") continue 2;;
*/[0-9][0-9]"-${skip}") continue 2;;
*/[0-9][0-9]"-${skip}.sh") continue 2;;
esac