From 9ae901445be2f33658142e401556818edbafaaf7 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 5 Jun 2012 16:04:23 +0000 Subject: /etc/functions.sh => /lib/functions.sh SVN-Revision: 32062 --- package/base-files/files/sbin/hotplug-call | 2 +- package/base-files/files/sbin/led.sh | 2 +- package/base-files/files/sbin/sysupgrade | 4 ++-- package/base-files/files/sbin/wifi | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'package/base-files/files/sbin') diff --git a/package/base-files/files/sbin/hotplug-call b/package/base-files/files/sbin/hotplug-call index 0d96e80..d627bec 100755 --- a/package/base-files/files/sbin/hotplug-call +++ b/package/base-files/files/sbin/hotplug-call @@ -3,7 +3,7 @@ export HOTPLUG_TYPE="$1" -. /etc/functions.sh +. /lib/functions.sh PATH=/bin:/sbin:/usr/bin:/usr/sbin LOGNAME=root diff --git a/package/base-files/files/sbin/led.sh b/package/base-files/files/sbin/led.sh index 44629d9..d67a0f5 100755 --- a/package/base-files/files/sbin/led.sh +++ b/package/base-files/files/sbin/led.sh @@ -1,7 +1,7 @@ #!/bin/sh # (C) 2008 openwrt.org -. /etc/functions.sh +. /lib/functions.sh ACTION=$1 NAME=$2 do_led() { diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index be11c5b..3868dc4 100755 --- a/package/base-files/files/sbin/sysupgrade +++ b/package/base-files/files/sbin/sysupgrade @@ -1,5 +1,5 @@ #!/bin/sh -. /etc/functions.sh +. /lib/functions.sh # initialize defaults RAMFS_COPY_BIN="" # extra programs for temporary ramfs root @@ -169,7 +169,7 @@ kill_remaining KILL if [ -n "$(rootfs_type)" ]; then v "Switching to ramdisk..." - run_ramfs '. /etc/functions.sh; include /lib/upgrade; do_upgrade' + run_ramfs '. /lib/functions.sh; include /lib/upgrade; do_upgrade' else do_upgrade fi diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi index 5cbf50b..8528efe 100755 --- a/package/base-files/files/sbin/wifi +++ b/package/base-files/files/sbin/wifi @@ -1,7 +1,7 @@ #!/bin/sh # Copyright (C) 2006 OpenWrt.org -. /etc/functions.sh +. /lib/functions.sh usage() { cat <