Commit 43d77cb6 authored by Christian Hesse's avatar Christian Hesse

lease-script: give hint about mis-usage

parent 933db2dd
......@@ -4,6 +4,14 @@
#
# run scripts on DHCP lease
:if ([ :typeof $leaseActIP ] = "nothing" || \
[ :typeof $leaseActMAC ] = "nothing" || \
[ :typeof $leaseServerName ] = "nothing" || \
[ :typeof $leaseBound ] = "nothing") do={
:log error "This script is supposed to run from ip dhcp-client.";
:error "Error: See log for details.";
}
:local Scripts;
:local ScriptsAssign {
"dhcp-to-dns";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment