base-files: make use of new fstools

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40416
This commit is contained in:
John Crispin 2014-04-07 15:10:15 +00:00
parent eb19a65bd2
commit 1d5ac95850
3 changed files with 4 additions and 3 deletions

View file

@ -3,7 +3,7 @@
START=95 START=95
boot() { boot() {
[ -d /tmp/root ] && fs-state done [ -d /tmp/root ] && mount_root done
# process user commands # process user commands
[ -f /etc/rc.local ] && { [ -f /etc/rc.local ] && {

View file

@ -3,7 +3,7 @@
# Copyright (C) 2010 Vertical Communications # Copyright (C) 2010 Vertical Communications
do_mount_root() { do_mount_root() {
fs-state start mount_root
boot_run_hook preinit_mount_root boot_run_hook preinit_mount_root
[ -f /sysupgrade.tgz ] && { [ -f /sysupgrade.tgz ] && {
echo "- config restore -" echo "- config restore -"

View file

@ -58,8 +58,9 @@ run_ramfs() { # <command> [...]
/bin/cut /usr/bin/printf /bin/sync /bin/cut /usr/bin/printf /bin/sync
install_bin /sbin/mtd install_bin /sbin/mtd
install_bin /sbin/fs-state install_bin /sbin/mount_root
install_bin /sbin/snapshot install_bin /sbin/snapshot
install_bin /sbin/snapshot_tool
install_bin /usr/sbin/ubiupdatevol install_bin /usr/sbin/ubiupdatevol
install_bin /usr/sbin/ubiattach install_bin /usr/sbin/ubiattach
install_bin /usr/sbin/ubidetach install_bin /usr/sbin/ubidetach