base-files: fix cleanup after settings restore
authorRodrigo Balerdi <lanchon@gmail.com>
Tue, 30 Apr 2024 11:25:57 +0000 (08:25 -0300)
committerJohn Crispin <john@phrozen.org>
Thu, 12 Dec 2024 10:01:56 +0000 (11:01 +0100)
commit06c2d5524c0d162ac2af5e55b03e217fcb882cf7
treebc1ab37b906c11542fd6b0da8285fdb37aba09d8
parentd67963943b52bd996368f829d8dea5432de55292
base-files: fix cleanup after settings restore

Some devices use file '/tmp/sysupgrade.tar' during settings restore and
this potentially big file was not being cleaned up from RAM afterwards.

See: do_mount_root() (base-files/files/lib/preinit/80_mount_root)

Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/15339
Signed-off-by: John Crispin <john@phrozen.org>
package/base-files/files/etc/init.d/done