]> git.ipfire.org Git - people/stevee/network.git/blobdiff - src/helpers/wpa_supplicant-config-helper
Rename all "config" to "settings"
[people/stevee/network.git] / src / helpers / wpa_supplicant-config-helper
index 26805a979b78e5511399f98c4e745404f104e3dc..97f15aa70680ca7a308db326ed68cc8bfb6860e6 100644 (file)
@@ -21,6 +21,9 @@
 
 . /usr/lib/network/functions
 
+# Read network settings
+network_settings_read
+
 action="${1}"
 assert isset action
 
@@ -33,7 +36,7 @@ config_file="$(wpa_supplicant_config_dir ${zone})/wpa_supplicant.conf"
 case "${action}" in
        create)
                # Create the configuration file for this zone.
-               zone_config_read ${zone} || exit $?
+               zone_settings_read ${zone} || exit $?
 
                wpa_supplicant_config_write ${zone} ${config_file} \
                        --mode="${ENCRYPTION}" \