[LEDE-DEV] /tmp/sysupgrade
John Crispin
john at phrozen.org
Mon Apr 10 05:43:56 PDT 2017
On 10/04/17 14:25, Kenneth Johansson wrote:
> I found that we touch the file /tmp/sysupgrade in a few places
>
> ---
>
> git grep "tmp/sysupgrade" | grep touch
> package/base-files/files/sbin/sysupgrade:touch /tmp/sysupgrade
> package/system/fstools/files/snapshot: touch /tmp/sysupgrade
> package/system/procd/files/nand.sh: touch /tmp/sysupgrade
> ---
>
> But why ? did not find anything that uses that file.
>
>
>
> _______________________________________________
> Lede-dev mailing list
> Lede-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev
Hi
procd [1] uses it to detect if an upgrade is in progress
John
[1]
https://git.lede-project.org/?p=project/procd.git;a=blob;f=initd/preinit.c;h=729978ea2f2af790653baaee5ae788f05a88a177;hb=HEAD#l62
More information about the Lede-dev
mailing list