diff options
author | Christian Hesse <mail@eworm.de> | 2018-07-09 16:44:44 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2018-07-09 16:44:44 +0200 |
commit | fe5386fbec298d8a0f588c5bc5c033d84b798bbd (patch) | |
tree | 7f595c869c532d1ef36655aeb88b858681d274b1 /lease-script | |
parent | 56e641a980a184b76914f8808793b7e952cdf76e (diff) |
introduce templates for scripts depending on capsman or local wireless
Diffstat (limited to 'lease-script')
-rw-r--r-- | lease-script | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lease-script b/lease-script index b80b89b..f260614 100644 --- a/lease-script +++ b/lease-script @@ -4,7 +4,9 @@ # run scripts on DHCP lease # ( / ip dhcp-server set lease-script=lease-script [ find ] ) -:local scripts { "dhcp-to-dns"; "collect-wireless-mac"; "dhcp-lease-comment" }; +:local scripts { "dhcp-to-dns"; + "collect-wireless-mac.local"; "dhcp-lease-comment.local", + "collect-wireless-mac.capsman"; "dhcp-lease-comment.capsman" }; # delay a second to give time to update the lease table :delay 1s; |