mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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:
@@ -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 ] && {
|
||||
|
||||
@@ -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 -"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user