]> git.ipfire.org Git - people/ms/network.git/blobdiff - src/network
wireless-ap: Allow setting the wireless environment (indoor/outdoor)
[people/ms/network.git] / src / network
index 506b1e0422d1ce1184aa42ec0117c4e053b95e17..de2e663e11090756c67bd74eb047ee1b98186e68 100644 (file)
@@ -277,6 +277,13 @@ cli_device_status_phy() {
                cli_space
        fi
 
+       cli_headline 2 "Features"
+
+       cli_print_fmt1 2 "DFS" \
+               "$(phy_supports_dfs "${phy}" && print "Supported" || print "Not Supported")"
+
+       cli_space
+
        return ${EXIT_OK}
 }
 
@@ -1209,12 +1216,12 @@ cli_reset() {
        done
 
        local zone
-       for zone in $(zones_get --all); do
+       for zone in $(zones_get_all); do
                zone_destroy "${zone}"
        done
 
        local port
-       for port in $(ports_get --all); do
+       for port in $(ports_get_all); do
                port_destroy "${port}"
        done
 
@@ -1410,6 +1417,9 @@ case "${action}" in
                # Update resolv.conf(5) when initializing the network
                dns_generate_resolvconf
 
+               # Update bird configuration
+               bird_generate_config
+
                # Also execute all triggers
                triggers_execute_all "init"
                ;;