]> git.ipfire.org Git - people/ms/network.git/blobdiff - src/udev/network-hotplug-serial
Rename all "config" to "settings"
[people/ms/network.git] / src / udev / network-hotplug-serial
index cb40768ef189d8cf2421285644e4f5613a606bf9..61337022fd690e3244722d2d8d61898130e913ae 100644 (file)
@@ -27,8 +27,8 @@ LOG_FACILITY="network-hotplug-serial"
 # Associated hooks.
 ASSOCIATED_HOOKS="modem"
 
-# Read network configuration.
-network_config_read
+# Read network settings
+network_settings_read
 
 log DEBUG "Called with ACTION='${ACTION}', DEVNAME='${DEVNAME}'."
 
@@ -97,7 +97,7 @@ case "${ACTION}" in
                        list_match "${hook}" ${ASSOCIATED_HOOKS} || continue
 
                        # Read IMSI from zone configuration.
-                       zone_imsi="$(zone_config_option "${zone}" IMSI)"
+                       zone_imsi="$(zone_settings_get "${zone}" IMSI)"
 
                        # If IMSIs match, we start that zone.
                        if [ "${zone_imsi}" = "${sim_imsi}" ]; then