contrib/meshwizard: Set community homepage in /etc/config/freifunk
This commit is contained in:
parent
53fa83c313
commit
7619f3051e
2 changed files with 19 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
@ -50,8 +50,13 @@ done < /tmp/meshwizard.tmp
|
|||
$dir/helpers/setup_dnsmasq.sh
|
||||
|
||||
# system
|
||||
echo "++++ system config"
|
||||
$dir/helpers/setup_system.sh
|
||||
|
||||
# freifunk
|
||||
echo "++++ /etc/config/freifunk config"
|
||||
$dir/helpers/setup_freifunk.sh
|
||||
|
||||
# Configure found networks
|
||||
for net in $networks; do
|
||||
|
||||
|
|
Loading…
Reference in a new issue