fix sysupgrade 'do_upgrade: not found' error
authorFelix Fietkau <nbd@openwrt.org>
Wed, 4 Jun 2008 23:20:56 +0000 (23:20 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 4 Jun 2008 23:20:56 +0000 (23:20 +0000)
SVN-Revision: 11362

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

index 6cc09e1..7584b77 100644 (file)
@@ -45,7 +45,7 @@ pivot() { # <new_root> <old_root>
 }
 
 run_ramfs() { # <command> [...]
 }
 
 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
+       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
        install_bin /sbin/mtd
        for file in $RAMFS_COPY_BIN; do
                install_bin $file
        install_bin /sbin/mtd
        for file in $RAMFS_COPY_BIN; do
                install_bin $file