]> git.ipfire.org Git - people/ms/network.git/blobdiff - src/hooks/zones/wireless
Fix hook settings writing and checking
[people/ms/network.git] / src / hooks / zones / wireless
index e376ab0c19e48020c3b2a4e2cb11afb52a7da071..52a3da3080cf7c5c52b2867a3f51d81dcc50164e 100644 (file)
@@ -31,7 +31,7 @@ SSID=
 KEY=
 ENCRYPTION_MODE=
 
-function hook_check() {
+function hook_check_settings() {
        assert isset SSID
 
        if isset ADDRESS; then
@@ -81,7 +81,7 @@ function hook_up() {
        assert isset zone
 
        # Read zone configuration.
-       zone_settings_read "${zone}" ${HOOK_SETTINGS}
+       zone_settings_read "${zone}"
 
        if ! device_exists ${zone}; then
                #  Create the wireless interface.