From 6374e776523f2f3c5e7a484f60890527e5ffceab Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 22 Mar 2015 15:11:27 +0000 Subject: fstools: update to the latest version, makes interrupted first boot more reliable Use xattr to store the filesystem initialization state of the overlay. As long as the filesystem is not marked as initialized yet (happens in /etc/init.d/done), all overlay data (except for sysupgrade.tgz) will be discarded before the system is allowed to boot Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44942 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/init.d/done | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/base-files') diff --git a/package/base-files/files/etc/init.d/done b/package/base-files/files/etc/init.d/done index ed75e4022f..374353a23c 100755 --- a/package/base-files/files/etc/init.d/done +++ b/package/base-files/files/etc/init.d/done @@ -3,7 +3,7 @@ START=95 boot() { - [ -d /tmp/root ] && mount_root done + mount_root done rm -f /sysupgrade.tgz # process user commands -- cgit v1.2.3