From: Gabor Juhos Date: Wed, 23 May 2012 21:05:20 +0000 (+0000) Subject: package/base-files: copy /lib/functions.sh to the ramfs on sysupgrade X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6aec1d72c2160220e6cab0b46e6f7b3b1e1f7c4d;p=openwrt%2Fstaging%2Fansuel.git package/base-files: copy /lib/functions.sh to the ramfs on sysupgrade SVN-Revision: 31842 --- diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index e97958bf9b..8f19d3e86e 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() { # [...] 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."