Rebased from upstream / out of band repository.
[librecmc/librecmc.git] / package / luci / contrib / package / freifunk-mapupdate / files / usr / sbin / ff_mapupdate.sh
index 40a077f154cb2fcadcaedbc43a67fa120e36ba2c..b06e145d65ea06802b600fec7d067d503a5cd065 100755 (executable)
@@ -8,7 +8,7 @@ MAPSERVER="$(uci -q get freifunk-mapupdate.mapupdate.mapserver)"
 [ -z "$MAPSERVER" ] && logger -t "freifunk-mapupdate:" "No mapserver configured" && exit 1
 
 #check if nameservice plugin is installed and enabled, else exit
-nslib=`uci show olsrd |grep olsrd_nameservice.so |awk {' FS="."; print $1"."$2 '}`
+nslib=`uci show olsrd |grep olsrd_nameservice |awk {' FS="."; print $1"."$2 '}`
 if [ -n "$nslib" ]; then
                LATLONFILE="$(uci -q get $nslib.latlon_file)"
                if [ -z "$LATLONFILE" ]; then