aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin/sysupgrade
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-06-05 16:04:23 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-06-05 16:04:23 +0000
commit75a299db504b662cf00e22e73215ab9f26204dc5 (patch)
tree6cf1592b9934654ae843a65fc381c7d42f493735 /package/base-files/files/sbin/sysupgrade
parent9f6ef16bdc7b4da0ce9501c08b942df0a86cff0a (diff)
downloadupstream-75a299db504b662cf00e22e73215ab9f26204dc5.tar.gz
upstream-75a299db504b662cf00e22e73215ab9f26204dc5.tar.bz2
upstream-75a299db504b662cf00e22e73215ab9f26204dc5.zip
[package] /etc/functions.sh => /lib/functions.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32062 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/sbin/sysupgrade')
-rwxr-xr-xpackage/base-files/files/sbin/sysupgrade4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade
index be11c5bf3f..3868dc456e 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