aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/init.d/done
Commit message (Collapse)AuthorAgeFilesLines
* base-files: prevent issues w/ overlay on powerloss after sysupgradeSergey Ryazanov2020-06-031-1/+1
| | | | | | | | | | | | | | | | Due to filesystem write caching the old configuration data could stay out of flash for a long time during a first boot after the sysupgrade. Power loss during this period could damage the overlay data and even make device inaccessable via the network. Fix this by syncing data to a flash as soon as the previous configuration will be unpacked after the sysupgrade. Also sync the FS state after the sysupgrade.tgz archive removing to prevent duplicative extraction of a previous configuration. Tested with AMD Geode based board. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* fstools: update to the latest version, makes interrupted first boot more ↵Felix Fietkau2015-03-221-1/+1
| | | | | | | | | | | | | 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 <nbd@openwrt.org> SVN-Revision: 44942
* base-files: keep sysupgrade.tgz until /etc/init.d/done has been calledFelix Fietkau2015-03-221-0/+1
| | | | | | | | This makes interrupted boots after sysupgrade more reliable Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44941
* base-files: make use of new fstoolsJohn Crispin2014-04-071-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 40416
* fstools: add the new fstools packageJohn Crispin2014-03-121-5/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39895
* mount_root: prepare base-filesJohn Crispin2013-04-251-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36429
* base-files: introduce a ready-to-use /etc/rc.local to let users run custom ↵Jo-Philipp Wich2009-09-111-0/+5
| | | | | | commands on init without creating custom init scripts SVN-Revision: 17571
* unified preinit environmentMike Baker2007-05-101-0/+15
SVN-Revision: 7173