summaryrefslogtreecommitdiff
path: root/package/base-files/files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-05-23 21:05:20 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-05-23 21:05:20 +0000
commit6aec1d72c2160220e6cab0b46e6f7b3b1e1f7c4d (patch)
tree8b3f103d9fa0241664881ae8148657e398948155 /package/base-files/files/lib
parent1e1c0a5405372075a9cccad7c6811139257f0a68 (diff)
downloadmtk-20170518-6aec1d72c2160220e6cab0b46e6f7b3b1e1f7c4d.zip
mtk-20170518-6aec1d72c2160220e6cab0b46e6f7b3b1e1f7c4d.tar.gz
mtk-20170518-6aec1d72c2160220e6cab0b46e6f7b3b1e1f7c4d.tar.bz2
package/base-files: copy /lib/functions.sh to the ramfs on sysupgrade
SVN-Revision: 31842
Diffstat (limited to 'package/base-files/files/lib')
-rw-r--r--package/base-files/files/lib/upgrade/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh
index e97958b..8f19d3e 100644
--- a/package/base-files/files/lib/upgrade/common.sh
+++ b/package/base-files/files/lib/upgrade/common.sh
@@ -58,7 +58,7 @@ run_ramfs() { # <command> [...]
for file in $RAMFS_COPY_BIN; do
install_bin $file
done
- install_file /etc/resolv.conf /etc/functions.sh /lib/upgrade/*.sh $RAMFS_COPY_DATA
+ install_file /etc/resolv.conf /etc/functions.sh /lib/functions.sh /lib/upgrade/*.sh $RAMFS_COPY_DATA
pivot $RAM_ROOT /mnt || {
echo "Failed to switch over to ramfs. Please reboot."