Merge r14784 to 8.09 (#4747)
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 9 May 2009 01:57:46 +0000 (01:57 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 9 May 2009 01:57:46 +0000 (01:57 +0000)
SVN-Revision: 15731

package/base-files/files/lib/upgrade/common.sh

index cf8977a5f2c0cd5373c87ebd205b3f36e7571033..d4fb04ba97e89e343c250cd1a85908a9f40be70a 100644 (file)
@@ -45,7 +45,7 @@ pivot() { # <new_root> <old_root>
 }
 
 run_ramfs() { # <command> [...]
-       install_bin /bin/busybox /bin/ash /bin/sh /bin/mount /bin/umount /sbin/pivot_root /usr/bin/wget /sbin/reboot /bin/sync /bin/dd /bin/grep /bin/cp /bin/mv /bin/tar /usr/bin/md5sum "/usr/bin/[" /bin/vi /bin/ls /bin/cat /usr/bin/awk /usr/bin/hexdump
+       install_bin /bin/busybox /bin/ash /bin/sh /bin/mount /bin/umount /sbin/pivot_root /usr/bin/wget /sbin/reboot /bin/sync /bin/dd /bin/grep /bin/cp /bin/mv /bin/tar /usr/bin/md5sum "/usr/bin/[" /bin/vi /bin/ls /bin/cat /usr/bin/awk /usr/bin/hexdump /bin/sleep
        install_bin /sbin/mtd
        for file in $RAMFS_COPY_BIN; do
                install_bin $file
@@ -160,6 +160,7 @@ do_upgrade() {
                        jffs2_copy_config
                fi
        }
+       v "Upgrade completed"
        [ -n "$DELAY" ] && sleep "$DELAY"
        ask_bool 1 "Reboot" && reboot
 }