channel=$1
community=$2
-. /etc/functions.sh
+. /lib/functions.sh
# Try to get BSSID from profile first
# This is only run once (usually after flashing an image from the imagebuilder)
# It sets up the initial config for this node.
-. /etc/functions.sh
+. /lib/functions.sh
. $dir/functions.sh
config_load system
#!/bin/sh
# Sets up the dhcp part of dnsmasq
-. /etc/functions.sh
+. /lib/functions.sh
. $dir/functions.sh
net="$1"
#!/bin/sh
-. /etc/functions.sh
+. /lib/functions.sh
. $dir/functions.sh
# Set dnsmasq config
# If wan/lan is used for olsr then remove these networks from wan/lan zones
# Also setup rules defined in /etc/config/freifunk and /etc/config/profile_<community>
-. /etc/functions.sh
+. /lib/functions.sh
. $dir/functions.sh
wan_is_olsr=$(uci -q get meshwizard.netconfig.wan_config)
# Arg $1 = $net
net=$1
-. /etc/functions.sh
+. /lib/functions.sh
. $dir/functions.sh
config_load firewall
[ ! "$(uci -q get network.lan)" == "interface" ] && exit
-. /etc/functions.sh
+. /lib/functions.sh
. $dir/functions.sh
# Setup IPv6 for the lan interface
[ ! "$(uci -q get network.lan)" == "interface" ] && exit
-. /etc/functions.sh
+. /lib/functions.sh
. $dir/functions.sh
uci batch << EOF
# Argument $1: network interface
net="$1"
-. /etc/functions.sh
+. /lib/functions.sh
. $dir/functions.sh
# Setup a (new) interface section for $net
#!/bin/sh
# Sets up olsrd
-. /etc/functions.sh
+. /lib/functions.sh
. $dir/functions.sh
# Clean the config, remove httpinfo and interface wlan
net=$1
-. /etc/functions.sh
+. /lib/functions.sh
. $dir/functions.sh
# Rename interface for $netrenamed
#!/bin/sh
# Setup_splash, takes 1 argument: 1=net
-. /etc/functions.sh
+. /lib/functions.sh
. $dir/functions.sh
net=$1
[ ! "$(uci -q get network.wan)" == "interface" ] && exit
-. /etc/functions.sh
+. /lib/functions.sh
. $dir/functions.sh
uci batch << EOF
# Arguments: $1 = network interface
net="$1"
-. /etc/functions.sh
+. /lib/functions.sh
. $dir/functions.sh
##### wifi-device #####
# You may not use this file except in compliance with the License.
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
-. /etc/functions.sh
+. /lib/functions.sh
echo "
/* Meshwizard 0.0.7 */