contrib/meshwizard: Set community homepage in /etc/config/freifunk

This commit is contained in:
Manuel Munz 2011-08-28 14:11:43 +00:00
parent 53fa83c313
commit 7619f3051e
2 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,14 @@
#!/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"
fi

View file

@ -50,8 +50,13 @@ done < /tmp/meshwizard.tmp
$dir/helpers/setup_dnsmasq.sh $dir/helpers/setup_dnsmasq.sh
# system # system
echo "++++ system config"
$dir/helpers/setup_system.sh $dir/helpers/setup_system.sh
# freifunk
echo "++++ /etc/config/freifunk config"
$dir/helpers/setup_freifunk.sh
# Configure found networks # Configure found networks
for net in $networks; do for net in $networks; do