]> git.ipfire.org Git - people/ms/network.git/blobdiff - src/header-port
wireless-ap: Allow to disable DFS in configuration
[people/ms/network.git] / src / header-port
index 489958fa276745e23fcc910a8e8ef22a75303fc2..ce1c1923945adefd8879303f560944d8d88cddee 100644 (file)
@@ -21,6 +21,8 @@
 
 INFO_SETTINGS="HOOK PORT_PARENTS PORT_CHILDREN"
 
+HOOK_PORT_PATTERN="${PORT_PATTERN}"
+
 # This function is called after a device has been plugged
 # into the system and got its correct name.
 # The function is intended to create child ports and things
@@ -41,6 +43,7 @@ hook_hotplug_rename() {
 }
 
 hook_default_new() {
+       local ${HOOK_SETTINGS}
        if ! hook_parse_cmdline "$@"; then
                return ${EXIT_ERROR}
        fi