fstools: add the new fstools package

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39895 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
John Crispin
2014-03-12 19:32:51 +00:00
parent 3b45a0d59f
commit 2b77148377
13 changed files with 322 additions and 32 deletions

View File

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

View File

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

View File

@@ -57,6 +57,8 @@ run_ramfs() { # <command> [...]
/bin/sleep /bin/zcat /usr/bin/bzcat /usr/bin/printf /usr/bin/wc
install_bin /sbin/mtd
install_bin /sbin/fs-state
install_bin /sbin/snapshot
for file in $RAMFS_COPY_BIN; do
install_bin $file
done