[packages] /etc/functions.sh => /lib/functions.sh

git-svn-id: svn://svn.openwrt.org/openwrt/packages@32061 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2012-06-05 15:54:57 +00:00
parent 1966c54229
commit 3f579aba93
16 changed files with 17 additions and 17 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
. /etc/functions.sh
. /lib/functions.sh
ipaddr="$PPP_LOCAL"

View File

@ -1,7 +1,7 @@
#!/bin/sh
if [ "$ACTION" = ifup ]; then
. /etc/functions.sh
. /lib/functions.sh
include /lib/network
scan_interfaces

View 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() {

View File

@ -1,6 +1,6 @@
#!/bin/sh
. /etc/functions.sh
. /lib/functions.sh
getoption() {
local cfg=$1

View 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

View File

@ -1,6 +1,6 @@
#!/bin/sh
. /etc/functions.sh
. /lib/functions.sh
save_print_table_chain() {
local table="$1"

View 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*
}

View 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() {

View File

@ -1,6 +1,6 @@
#!/bin/sh
. /etc/functions.sh
. /lib/functions.sh
config_cb() {
local cfg="$CONFIG_SECTION"

View 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

View File

@ -1,6 +1,6 @@
#!/bin/sh
. /etc/functions.sh
. /lib/functions.sh
silencer() {
if [ -z "$debug" -o "$debug" == "0" ]; then

View File

@ -1,7 +1,7 @@
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
. /etc/functions.sh
. /lib/functions.sh
unset SERVER
unset PORT

View File

@ -1,5 +1,5 @@
#!/bin/sh
. /etc/functions.sh
. /lib/functions.sh
. ../netifd-proto.sh
init_proto "$@"

View File

@ -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

View 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 )&

View File

@ -1,6 +1,6 @@
#!/bin/sh
. /etc/functions.sh
. /lib/functions.sh
. /lib/functions/bbstored.sh
bxbk_config_file=