contrib/meshwizard: Set community homepage in /etc/config/freifunk
[project/luci.git] / contrib / package / meshwizard / files / usr / bin / meshwizard / helpers / setup_freifunk.sh
1 #!/bin/sh
2 # Sets values in /etc/config/freifunk
3
4 . /etc/functions.sh
5 . $dir/functions.sh
6
7 # Set community homepage
8 hp=$(uci -q get profile_$community.profile.homepage)
9
10 if [ -n "$hp" ]; then
11 uci set freifunk.community.homepage="$hp"
12 fi
13
14