diff options
-rw-r--r-- | lease-script | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lease-script b/lease-script index 6de6fd9..ab35ee5 100644 --- a/lease-script +++ b/lease-script @@ -22,15 +22,15 @@ $LogPrintExit2 error $0 ("This script is supposed to run from ip dhcp-server.") true; } +$LogPrintExit2 debug $0 ("DHCP Server " . $leaseServerName . " " . [ $IfThenElse ($leaseBound = 0) \ + "de" "" ] . "assigned lease " . $leaseActIP . " to " . $leaseActMAC) false; + $ScriptLock $0 false 10; :if ([ :len [ / system script job find where script=$0 ] ] > 1) do={ $LogPrintExit2 debug $0 ("More invocations are waiting, exiting early.") true; } -$LogPrintExit2 debug $0 ("DHCP Server " . $leaseServerName . " " . [ $IfThenElse ($leaseBound = 0) \ - "de" "" ] . "assigned lease " . $leaseActIP . " to " . $leaseActMAC) false; - :local RunOrder [ :toarray "" ]; :foreach Script in=[ / system script find where source~("\n# provides: lease-script, ") ] do={ |