summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
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/ar71xx
parent439a869090282f229cf0edb41cc2d6e94f02b5c2 (diff)
downloadmtk-20170518-e34a4e0c7b64aa2cc9ccd1b3f69a16db921daf77.zip
mtk-20170518-e34a4e0c7b64aa2cc9ccd1b3f69a16db921daf77.tar.gz
mtk-20170518-e34a4e0c7b64aa2cc9ccd1b3f69a16db921daf77.tar.bz2
Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
SVN-Revision: 34793
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom2
-rwxr-xr-xtarget/linux/ar71xx/base-files/sbin/wget2nand2
2 files changed, 2 insertions, 2 deletions
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 c46d093..0fd6813 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 56a8ae2..f80eecd 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