diff options
Diffstat (limited to 'dhcpcd-run-hooks.in')
-rw-r--r-- | dhcpcd-run-hooks.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpcd-run-hooks.in b/dhcpcd-run-hooks.in index 1e5d5b3..a848260 100644 --- a/dhcpcd-run-hooks.in +++ b/dhcpcd-run-hooks.in @@ -79,7 +79,7 @@ remove_markers() } # Compare two files -# It different, replace first with second otherwise remove second +# If different, replace first with second otherwise remove second change_file() { if type cmp >/dev/null 2>&1; then @@ -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 |