diff options
Diffstat (limited to 'lease-script')
-rw-r--r-- | lease-script | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lease-script b/lease-script index eacba9f..537c832 100644 --- a/lease-script +++ b/lease-script @@ -12,7 +12,6 @@ :global IfThenElse; :global LogPrintExit2; -:global RandomDelay; :if ([ :typeof $leaseActIP ] = "nothing" || \ [ :typeof $leaseActMAC ] = "nothing" || \ @@ -26,11 +25,6 @@ $LogPrintExit2 debug $0 ("DHCP Server " . $leaseServerName . " " . \ $State . "ed lease " . $leaseActIP . " to " . $leaseActMAC) false; -# delay a moment to update the lease table, do not run in parallel for de/assign... -:delay ((1 + $leaseBound) . "s"); -# ... or simultaneous deassign -$RandomDelay (([ :tonum $leaseBound ] ^ 1) * 750) "ms"; - :foreach Script in=[ / system script find where source~("\n# provides: lease-script " . $State . "\n") ] do={ :local ScriptName [ / system script get $Script name ]; :do { |