summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/init.d
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-03-12 19:32:51 +0000
committerJohn Crispin <john@openwrt.org>2014-03-12 19:32:51 +0000
commit0dc9d8d6ffcdbdfda2723676f6ffc825a48a18b7 (patch)
tree0e723f844a2516729ec4ce71273b0e4480d73107 /package/base-files/files/etc/init.d
parent8411a5703f449a929623b7c41ba8b216685e8018 (diff)
downloadmtk-20170518-0dc9d8d6ffcdbdfda2723676f6ffc825a48a18b7.zip
mtk-20170518-0dc9d8d6ffcdbdfda2723676f6ffc825a48a18b7.tar.gz
mtk-20170518-0dc9d8d6ffcdbdfda2723676f6ffc825a48a18b7.tar.bz2
fstools: add the new fstools package
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39895
Diffstat (limited to 'package/base-files/files/etc/init.d')
-rwxr-xr-xpackage/base-files/files/etc/init.d/done6
1 files changed, 1 insertions, 5 deletions
diff --git a/package/base-files/files/etc/init.d/done b/package/base-files/files/etc/init.d/done
index 8040766..5565fbf 100755
--- a/package/base-files/files/etc/init.d/done
+++ b/package/base-files/files/etc/init.d/done
@@ -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 ] && {