[packages] /etc/functions.sh => /lib/functions.sh
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 5 Jun 2012 15:54:57 +0000 (15:54 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 5 Jun 2012 15:54:57 +0000 (15:54 +0000)
SVN-Revision: 32061

16 files changed:
ipv6/6scripts/files/he-tun.ppp
ipv6/tayga/files/tayga.hotplug
ipv6/tayga/files/tayga.sh
ipv6/wide-dhcpv6/files/dhcp6c-dnsmasq.hotplug
ipv6/wide-dhcpv6/files/dhcp6c-state
libs/firewall-mod-save/files/20_save.sh
net/batman-adv/files/lib/batman-adv/config.sh
net/batman-adv/files/usr/sbin/batman-adv
net/dudders/files/dudders.hotplug
net/freeswitch/files/freeswitch.hotplug
net/multiwan/files/usr/bin/multiwan
net/ntpclient/files/ntpclient.hotplug
net/openconnect/files/openconnect.sh
net/wshaper/files/wshaper.htb
utils/acpid/files/acpid.hotplug
utils/boxbackup/files/bbstoreaccounts

index 4cc7385a66e397d410becb4d4efd90dd75292e52..ab12d40daba23cdf4e85f12fb297580d320a3994 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-. /etc/functions.sh
+. /lib/functions.sh
 
 ipaddr="$PPP_LOCAL"
 
index 2539f0930b44a90b11b79220c1134f3e43b74971..fb989bdbeefea2832f3b9b66866179a3c4147b52 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 if [ "$ACTION" = ifup ]; then
-       . /etc/functions.sh
+       . /lib/functions.sh
 
        include /lib/network
        scan_interfaces
index 96d132d4d634cd154d24155f65b00e604e560506..a9edb6d0b10335e9af04a12e283e64236fa968db 100644 (file)
@@ -36,7 +36,7 @@ tayga_add_static_mappings() {
        local tmpconf="$1"
 
        (
-               . /etc/functions.sh
+               . /lib/functions.sh
                config_load firewall
 
                tayga_map_rule_add() {
index 12e18a25c10290d13c121a78101308e3985cc1b1..61850cf3d0795ece672e2f6eb566b074ce7ed587 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-. /etc/functions.sh
+. /lib/functions.sh
 
 getoption() {
        local cfg=$1
index 689ca8826e421fa7186e9acd838085c1c67ebba3..c77772422958889022d4465b23be13031127f7a1 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-. /etc/functions.sh
+. /lib/functions.sh
 
 uci_revert_state dhcp6c state
 uci_set_state dhcp6c state "" dhcp6c_state
index d26251863e62727d7ac4906c2b9e3777732b6382..18b3528825cb315ace5dd6af772812c1193b953d 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-. /etc/functions.sh
+. /lib/functions.sh
 
 save_print_table_chain() {
        local table="$1"
index b0cb4b4e67d34df46fdae45e437a1c4845e14ae1..49d63d639eae478417fc51b4ddf66a3544f33e2e 100644 (file)
@@ -4,7 +4,7 @@ bat_load_module()
 {
        [ -d "/sys/module/batman_adv/" ] && return
 
-       . /etc/functions.sh
+       . /lib/functions.sh
        load_modules /etc/modules.d/*-crc16 /etc/modules.d/*-batman-adv*
 }
 
index 93ae1b58f3c9c82007fdbdf9c071feb820dce255..ca9e603a2fd75f6d002ad6e7de4443673d5bf06a 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Copyright (C) 2011 OpenWrt.org
 
-. /etc/functions.sh
+. /lib/functions.sh
 . /lib/batman-adv/config.sh
 
 start_mesh() {
index 9a85a0149addafd37ac8770f1ecf975c3e5ff755..7e3026fb9d4ea7a284a5dc0c2ab7d0f0d01ff6a1 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-. /etc/functions.sh
+. /lib/functions.sh
 
 config_cb() {
        local cfg="$CONFIG_SECTION"
index 508073863deb1ad5c01ef6b914a6a0325f7c2ddc..ef9656cfb2c93693acf3fd80b938189b7fa8e15a 100644 (file)
@@ -1,12 +1,12 @@
 #!/bin/sh
 
-. /etc/functions.sh
+. /lib/functions.sh
 LOAD_STATE=1
 
 if [ "$ACTION" = "ifup" ]; then
        /etc/init.d/freeswitch enabled && {
                local not_all_up="$(sh -c '
-                       . /etc/functions.sh
+                       . /lib/functions.sh
 
                        LOAD_STATE=1
                        local if_is_down=0
index 75b2a2fc8348eb3f82ce53e403ebe7e01d606b80..02c84b8ebaf52a1a1365312ed930a7e24ea240d9 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-. /etc/functions.sh
+. /lib/functions.sh
 
 silencer() {
     if [ -z "$debug" -o "$debug" == "0" ]; then
index c932688c9a951233d36ea6d6c6c75aaec3d168f4..536f531fa0ed73d18b4302b530e51ad32c4b84b9 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Copyright (C) 2006 OpenWrt.org
 
-. /etc/functions.sh
+. /lib/functions.sh
 
 unset SERVER
 unset PORT
index f99b34ea13c6116a375690c4d5899790c5d8a783..21100678caaa630ada5f7dcafcaf692581bed3c5 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-. /etc/functions.sh
+. /lib/functions.sh
 . ../netifd-proto.sh
 init_proto "$@"
 
index d8e35adb3159a26d59d5065d2a776e177a7ea145..0729fb7107d995ed8acab42d1b1895d3ca9435e3 100755 (executable)
@@ -7,7 +7,7 @@
 
 # All config needs to be done in /etc/config/wshaper
 
-. /etc/functions.sh
+. /lib/functions.sh
 config_load wshaper
 for s in downlink uplink network nopriohostdst nopriohostsrc noprioportdst noprioportsrc; do
        config_get $s settings $s
index 120adab2d66c108fa7f8bbb7879b1462612b4ce3..6e08d01a22036897a290123512385c667deea4e2 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-. /etc/functions.sh
+. /lib/functions.sh
 
 if [ "$ACTION" = add ] && [ "$DEVICENAME" = event0 ]; then
         ( /etc/init.d/acpid/stop; sleep 3; /usr/sbin/acpid )&
index 5bf2cf577dfeb68ae5c4d5b0146ba460af575913..ec38fc06e4b84c6fec2c79d5bf15b339fc302d1e 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-. /etc/functions.sh
+. /lib/functions.sh
 . /lib/functions/bbstored.sh
 
 bxbk_config_file=