aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2012-12-19 16:07:50 +0000
committerMirko Vogt <mirko@openwrt.org>2012-12-19 16:07:50 +0000
commite34a4e0c7b64aa2cc9ccd1b3f69a16db921daf77 (patch)
tree479a4332ce596ec672fc4ba28112ad32f6f4c9df /target/linux
parent439a869090282f229cf0edb41cc2d6e94f02b5c2 (diff)
downloadupstream-e34a4e0c7b64aa2cc9ccd1b3f69a16db921daf77.tar.gz
upstream-e34a4e0c7b64aa2cc9ccd1b3f69a16db921daf77.tar.bz2
upstream-e34a4e0c7b64aa2cc9ccd1b3f69a16db921daf77.zip
Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
SVN-Revision: 34793
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/adm5120/rb1xx/base-files/sbin/wget2nand2
-rw-r--r--target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom2
-rwxr-xr-xtarget/linux/ar71xx/base-files/sbin/wget2nand2
-rw-r--r--target/linux/atheros/base-files/etc/hotplug.d/button/00-button2
-rw-r--r--target/linux/brcm47xx/base-files/lib/preinit/20_failsafe_set_boot_wait_brcm2
-rw-r--r--target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom2
-rwxr-xr-xtarget/linux/generic/base-files/init2
-rw-r--r--target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom2
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom2
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/network2
-rwxr-xr-xtarget/linux/rb532/base-files/sbin/cf2nand2
-rwxr-xr-xtarget/linux/rb532/base-files/sbin/wget2nand2
12 files changed, 12 insertions, 12 deletions
diff --git a/target/linux/adm5120/rb1xx/base-files/sbin/wget2nand b/target/linux/adm5120/rb1xx/base-files/sbin/wget2nand
index 6cd8d6fbd98..f7e0a092ca4 100755
--- a/target/linux/adm5120/rb1xx/base-files/sbin/wget2nand
+++ b/target/linux/adm5120/rb1xx/base-files/sbin/wget2nand
@@ -6,7 +6,7 @@
# Licence GPL V2
# Author david.goodenough@linkchoose.co.uk
# Based on cf2nand from RB532 support
-. /etc/functions.sh
+. /lib/functions.sh
[ -d /tmp/wget2nand-rootfs ] && {
echo "/tmp/wget2nand-rootfs already exists"
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
index c46d0931a96..0fd68138322 100644
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
@@ -11,7 +11,7 @@ ath9k_eeprom_extract() {
local count=$3
local mtd
- . /etc/functions.sh
+ . /lib/functions.sh
mtd=$(find_mtd_chardev $part)
[ -n "$mtd" ] || \
diff --git a/target/linux/ar71xx/base-files/sbin/wget2nand b/target/linux/ar71xx/base-files/sbin/wget2nand
index 56a8ae22446..f80eecd2192 100755
--- a/target/linux/ar71xx/base-files/sbin/wget2nand
+++ b/target/linux/ar71xx/base-files/sbin/wget2nand
@@ -6,7 +6,7 @@
# Licence GPL V2
# Author david.goodenough@linkchoose.co.uk
# Based on cf2nand from RB532 support
-. /etc/functions.sh
+. /lib/functions.sh
wget2nand_dir=/tmp/wget2nand
mnt_kernel=$wget2nand_dir/mnt_kernel
diff --git a/target/linux/atheros/base-files/etc/hotplug.d/button/00-button b/target/linux/atheros/base-files/etc/hotplug.d/button/00-button
index 857a59b4a81..63cc217d5d4 100644
--- a/target/linux/atheros/base-files/etc/hotplug.d/button/00-button
+++ b/target/linux/atheros/base-files/etc/hotplug.d/button/00-button
@@ -1,4 +1,4 @@
-. /etc/functions.sh
+. /lib/functions.sh
do_button () {
local button
local action
diff --git a/target/linux/brcm47xx/base-files/lib/preinit/20_failsafe_set_boot_wait_brcm b/target/linux/brcm47xx/base-files/lib/preinit/20_failsafe_set_boot_wait_brcm
index da721b84841..001f5f4d3fb 100644
--- a/target/linux/brcm47xx/base-files/lib/preinit/20_failsafe_set_boot_wait_brcm
+++ b/target/linux/brcm47xx/base-files/lib/preinit/20_failsafe_set_boot_wait_brcm
@@ -1,6 +1,6 @@
#!/bin/sh
-. /etc/functions.sh
+. /lib/functions.sh
set_boot_wait() {
[ -x "/usr/sbin/nvram" ] && {
diff --git a/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index 46be9d3f993..c03ba4c6ec2 100644
--- a/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -12,7 +12,7 @@ rt2x00_eeprom_extract() {
local count=$3
local mtd
- . /etc/functions.sh
+ . /lib/functions.sh
mtd=$(find_mtd_part $part)
[ -n "$mtd" ] || \
diff --git a/target/linux/generic/base-files/init b/target/linux/generic/base-files/init
index 470576156b1..b4ef4fe6876 100755
--- a/target/linux/generic/base-files/init
+++ b/target/linux/generic/base-files/init
@@ -35,7 +35,7 @@ echo "- init -"
# Load the modules we have in initramfs, this should
# make the media accessible, but, it may take some time
-. /etc/functions.sh
+. /lib/functions.sh
load_modules /etc/modules /etc/modules.d/*
#wait 10 seconds for the disc to show up
diff --git a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index e58ca34de48..e3509bdd2b1 100644
--- a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -12,7 +12,7 @@ rt2x00_eeprom_extract() {
local count=$3
local mtd
- . /etc/functions.sh
+ . /lib/functions.sh
mtd=$(find_mtd_part $part)
[ -n "$mtd" ] || \
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index 32c97fce414..21c9f5f886d 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -11,7 +11,7 @@ rt2x00_eeprom_extract() {
local count=$3
local mtd
- . /etc/functions.sh
+ . /lib/functions.sh
mtd=$(find_mtd_part $part)
[ -n "$mtd" ] || \
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network
index 5d49923bb52..dadb95bcb81 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -1,6 +1,6 @@
#!/bin/sh
-. /etc/functions.sh
+. /lib/functions.sh
. /lib/ramips.sh
. /lib/functions/uci-defaults.sh
diff --git a/target/linux/rb532/base-files/sbin/cf2nand b/target/linux/rb532/base-files/sbin/cf2nand
index 60542de1e19..0bfc259ef63 100755
--- a/target/linux/rb532/base-files/sbin/cf2nand
+++ b/target/linux/rb532/base-files/sbin/cf2nand
@@ -1,5 +1,5 @@
#!/bin/sh
-. /etc/functions.sh
+. /lib/functions.sh
copy_kernel() {
local input="$1"
diff --git a/target/linux/rb532/base-files/sbin/wget2nand b/target/linux/rb532/base-files/sbin/wget2nand
index 57f4128642d..9a111fa8969 100755
--- a/target/linux/rb532/base-files/sbin/wget2nand
+++ b/target/linux/rb532/base-files/sbin/wget2nand
@@ -6,7 +6,7 @@
# Licence GPL V2
# Author david.goodenough@linkchoose.co.uk
# Based on cf2nand from RB532 support
-. /etc/functions.sh
+. /lib/functions.sh
[ -d /tmp/wget2nand ] && {
echo "/tmp/wget2nand already exists"