base-files: make use of new fstools
authorJohn Crispin <john@openwrt.org>
Mon, 7 Apr 2014 15:10:15 +0000 (15:10 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 7 Apr 2014 15:10:15 +0000 (15:10 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40416

package/base-files/files/etc/init.d/done
package/base-files/files/lib/preinit/80_mount_root
package/base-files/files/lib/upgrade/common.sh

index 5565fbf..b254aff 100755 (executable)
@@ -3,7 +3,7 @@
 
 START=95
 boot() {
-       [ -d /tmp/root ] && fs-state done
+       [ -d /tmp/root ] && mount_root done
 
        # process user commands
        [ -f /etc/rc.local ] && {
index 40c5146..0292d82 100644 (file)
@@ -3,7 +3,7 @@
 # Copyright (C) 2010 Vertical Communications
 
 do_mount_root() {
-       fs-state start
+       mount_root
        boot_run_hook preinit_mount_root
        [ -f /sysupgrade.tgz ] && {
                echo "- config restore -"
index 2963c37..207eae0 100644 (file)
@@ -58,8 +58,9 @@ run_ramfs() { # <command> [...]
                /bin/cut /usr/bin/printf /bin/sync
 
        install_bin /sbin/mtd
-       install_bin /sbin/fs-state
+       install_bin /sbin/mount_root
        install_bin /sbin/snapshot
+       install_bin /sbin/snapshot_tool
        install_bin /usr/sbin/ubiupdatevol
        install_bin /usr/sbin/ubiattach
        install_bin /usr/sbin/ubidetach