contrib/package: /etc/functions.sh => /lib/functions.sh
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 5 Jun 2012 15:57:22 +0000 (15:57 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 5 Jun 2012 15:57:22 +0000 (15:57 +0000)
15 files changed:
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/gen_bssid.sh
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/initial_config.sh
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_dhcp.sh
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_dnsmasq.sh
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_firewall.sh
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_firewall_interface.sh
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_lan_ipv6.sh
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_lan_static.sh
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_network.sh
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_olsrd.sh
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_olsrd_interface.sh
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_splash.sh
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_wan_static.sh
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_wifi.sh
contrib/package/meshwizard/files/usr/bin/meshwizard/wizard.sh

index e05300a..8c9155e 100755 (executable)
@@ -5,7 +5,7 @@
 channel=$1
 community=$2
 
 channel=$1
 community=$2
 
-. /etc/functions.sh
+. /lib/functions.sh
 
 
 # Try to get BSSID from profile first
 
 
 # Try to get BSSID from profile first
index 6c442e0..a465935 100755 (executable)
@@ -2,7 +2,7 @@
 # This is only run once (usually after flashing an image from the imagebuilder)
 # It sets up the initial config for this node.
 
 # 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
 . $dir/functions.sh
 
 config_load system
index d89da3a..5c8863e 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Sets up the dhcp part of dnsmasq
 
 #!/bin/sh
 # Sets up the dhcp part of dnsmasq
 
-. /etc/functions.sh
+. /lib/functions.sh
 . $dir/functions.sh
 
 net="$1"
 . $dir/functions.sh
 
 net="$1"
index 504aaee..59b7f84 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
 #!/bin/sh
 
-. /etc/functions.sh
+. /lib/functions.sh
 . $dir/functions.sh
 
 # Set dnsmasq config
 . $dir/functions.sh
 
 # Set dnsmasq config
index e14a384..fb2232e 100755 (executable)
@@ -3,7 +3,7 @@
 # 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>
 
 # 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)
 . $dir/functions.sh
 
 wan_is_olsr=$(uci -q get meshwizard.netconfig.wan_config)
index 51d20be..7f40f87 100755 (executable)
@@ -4,7 +4,7 @@
 # Arg $1 = $net
 
 net=$1
 # Arg $1 = $net
 
 net=$1
-. /etc/functions.sh
+. /lib/functions.sh
 . $dir/functions.sh
 config_load firewall
 
 . $dir/functions.sh
 config_load firewall
 
index 00f0706..1b6e0de 100755 (executable)
@@ -2,7 +2,7 @@
 
 [ ! "$(uci -q get network.lan)" == "interface" ] && exit
 
 
 [ ! "$(uci -q get network.lan)" == "interface" ] && exit
 
-. /etc/functions.sh
+. /lib/functions.sh
 . $dir/functions.sh
 
 # Setup IPv6 for the lan interface
 . $dir/functions.sh
 
 # Setup IPv6 for the lan interface
index 1c8c02c..172dcf1 100755 (executable)
@@ -3,7 +3,7 @@
 
 [ ! "$(uci -q get network.lan)" == "interface" ] && exit
 
 
 [ ! "$(uci -q get network.lan)" == "interface" ] && exit
 
-. /etc/functions.sh
+. /lib/functions.sh
 . $dir/functions.sh
 
 uci batch << EOF
 . $dir/functions.sh
 
 uci batch << EOF
index c3647c4..e62cb5a 100755 (executable)
@@ -2,7 +2,7 @@
 # Argument $1: network interface
  
 net="$1"
 # Argument $1: network interface
  
 net="$1"
-. /etc/functions.sh
+. /lib/functions.sh
 . $dir/functions.sh
 
 # Setup a (new) interface section for $net
 . $dir/functions.sh
 
 # Setup a (new) interface section for $net
index 11ea3f1..1e35c64 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Sets up olsrd
 
 #!/bin/sh
 # Sets up olsrd
 
-. /etc/functions.sh
+. /lib/functions.sh
 . $dir/functions.sh
 
 # Clean the config, remove httpinfo and interface wlan
 . $dir/functions.sh
 
 # Clean the config, remove httpinfo and interface wlan
index f9f07aa..6bb490a 100755 (executable)
@@ -4,7 +4,7 @@
 
 net=$1
 
 
 net=$1
 
-. /etc/functions.sh
+. /lib/functions.sh
 . $dir/functions.sh
 
 # Rename interface for $netrenamed
 . $dir/functions.sh
 
 # Rename interface for $netrenamed
index b6106de..9741111 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Setup_splash, takes 1 argument: 1=net
 
 #!/bin/sh
 # Setup_splash, takes 1 argument: 1=net
 
-. /etc/functions.sh
+. /lib/functions.sh
 . $dir/functions.sh
 
 net=$1
 . $dir/functions.sh
 
 net=$1
index a1bec34..01352d2 100755 (executable)
@@ -3,7 +3,7 @@
 
 [ ! "$(uci -q get network.wan)" == "interface" ] && exit
 
 
 [ ! "$(uci -q get network.wan)" == "interface" ] && exit
 
-. /etc/functions.sh
+. /lib/functions.sh
 . $dir/functions.sh
 
 uci batch << EOF
 . $dir/functions.sh
 
 uci batch << EOF
index 55965dc..84c5438 100755 (executable)
@@ -3,7 +3,7 @@
 # Arguments: $1 = network interface
 
 net="$1"
 # Arguments: $1 = network interface
 
 net="$1"
-. /etc/functions.sh
+. /lib/functions.sh
 . $dir/functions.sh
 
 ##### wifi-device #####
 . $dir/functions.sh
 
 ##### wifi-device #####
index 33ef0b0..4bdc2c8 100755 (executable)
@@ -9,7 +9,7 @@
 # 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
 
 # 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 */
 
 echo "
 /* Meshwizard 0.0.7 */