openwrt: add missing config handling for event log types
authorFelix Fietkau <nbd@nbd.name>
Thu, 13 May 2021 14:10:33 +0000 (16:10 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 13 May 2021 14:10:36 +0000 (16:10 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
openwrt/usteer/files/etc/config/usteer
openwrt/usteer/files/etc/init.d/usteer

index cb6ac4b6372ec642c02176ef873196f9c7619ecd..5e30ccf74ad481eaa06c40585cb9dddf90845d6f 100644 (file)
@@ -105,7 +105,7 @@ config usteer
        # - load_kick_no_client
        # - load_kick_client
        # - signal_kick
-       #option event_log_types ''
+       #list event_log_types ''
 
        # List of SSIDs to enable steering on
        #list ssid_list ''
index 8f953a7a247603596758e12377c507508d07ba1d..92895577f12de50c76e833e2298666587a003a0e 100755 (executable)
@@ -69,6 +69,7 @@ uci_usteer() {
        uci_option_to_json_bool "$cfg" assoc_steering
        uci_option_to_json_string "$cfg" node_up_script
        uci_option_to_json_string_array "$cfg" ssid_list
+       uci_option_to_json_string_array "$cfg" event_log_types
 
        for opt in \
                debug_level \