mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
base-files: make use of new fstools
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40416 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
43562719f0
commit
1a579e57fe
@ -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 ] && {
|
||||
|
||||
@ -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 -"
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user