diff options
| author | Roy Marples <roy@marples.name> | 2008-07-12 17:14:45 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-07-12 17:14:45 +0000 |
| commit | 9a7c3c8ed957d3e8ea4a6e92add49e21db0b003c (patch) | |
| tree | 4df186c37f40bf03d9aed3218af39bc7ad9d4856 /dhcpcd-run-hooks.in | |
| parent | 7e7d301b8f5d0f72f78790aabc2eb3325d88bfc9 (diff) | |
| download | dhcpcd-9a7c3c8ed957d3e8ea4a6e92add49e21db0b003c.tar.xz | |
Allow a user defined enter and exit hook instead of just a single hook.
Diffstat (limited to 'dhcpcd-run-hooks.in')
| -rw-r--r-- | dhcpcd-run-hooks.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dhcpcd-run-hooks.in b/dhcpcd-run-hooks.in index 7fd8b091..bd7c64fa 100644 --- a/dhcpcd-run-hooks.in +++ b/dhcpcd-run-hooks.in @@ -22,8 +22,9 @@ restore_conf() # Thus, the user can create their dhcpcd.hook script to configure # /etc/resolv.conf how they want and stop the system scripts ever updating it. for hook in \ - @SYSCONFDIR@/dhcpcd.hook \ + @SYSCONFDIR@/dhcpcd.enter-hook \ @HOOKDIR@/* + @SYSCONFDIR@/dhcpcd.exit-hook \ do for skip in ${skip_hooks}; do case "${hook}" in |
