i18n: initialize romanian language support
[project/luci.git] / contrib / package / meshwizard / files / usr / bin / meshwizard / helpers / setup_freifunk.sh
index 7c66e63..e4bd87f 100755 (executable)
@@ -1,14 +1,13 @@
 #!/bin/sh
 # Sets values in /etc/config/freifunk
 
-. /etc/functions.sh
 . $dir/functions.sh
 
 # Set community homepage
-hp=$(uci -q get profile_$community.profile.homepage)
 
-if [ -n "$hp" ]; then
-       uci set freifunk.community.homepage="$hp"
+if [ -n "$profile_homepage" ]; then
+       uci set freifunk.community.homepage="$profile_homepage"
 fi
 
+uci_commitverbose freifunk