diff options
author | mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-12-19 16:07:50 +0000 |
---|---|---|
committer | mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-12-19 16:07:50 +0000 |
commit | 8fedcbdf7f42cd48ebdac13f7f32e32cc3256c88 (patch) | |
tree | a9929324b7b68a7aa20d97a6ddb3d49222ba0bd0 | |
parent | 53edda1e3668752d18b2bbf4c3d6edc7e3ab1b6e (diff) |
Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34793 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 6cd8d6fbd..f7e0a092c 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 c46d0931a..0fd681383 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 56a8ae224..f80eecd21 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 857a59b4a..63cc217d5 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 da721b848..001f5f4d3 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 46be9d3f9..c03ba4c6e 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 470576156..b4ef4fe68 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 e58ca34de..e3509bdd2 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 32c97fce4..21c9f5f88 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 5d49923bb..dadb95bcb 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 60542de1e..0bfc259ef 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 57f412864..9a111fa89 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" |