1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-16 12:14:01 +02:00

Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)

SVN-Revision: 34793
This commit is contained in:
Mirko Vogt 2012-12-19 16:07:50 +00:00
parent 439a869090
commit e34a4e0c7b
12 changed files with 12 additions and 12 deletions

View File

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

View File

@ -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" ] || \

View File

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

View File

@ -1,4 +1,4 @@
. /etc/functions.sh
. /lib/functions.sh
do_button () {
local button
local action

View File

@ -1,6 +1,6 @@
#!/bin/sh
. /etc/functions.sh
. /lib/functions.sh
set_boot_wait() {
[ -x "/usr/sbin/nvram" ] && {

View File

@ -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" ] || \

View File

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

View File

@ -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" ] || \

View File

@ -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" ] || \

View File

@ -1,6 +1,6 @@
#!/bin/sh
. /etc/functions.sh
. /lib/functions.sh
. /lib/ramips.sh
. /lib/functions/uci-defaults.sh

View File

@ -1,5 +1,5 @@
#!/bin/sh
. /etc/functions.sh
. /lib/functions.sh
copy_kernel() {
local input="$1"

View File

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