fstools: ensure filesystems are mounted before log service starts
authorTimo Sigurdsson <public_timo.s@silentcreek.de>
Sat, 26 Jun 2021 11:04:49 +0000 (13:04 +0200)
committerPaul Spooren <mail@aparcar.org>
Thu, 23 Sep 2021 02:49:10 +0000 (16:49 -1000)
Currently, the fstab service starts after the log service which breaks
the ability to write a persistent log file to a filesystem mounted by
the fstab service. Thus, change the start order of the fstab service so
it starts right before the log service.

Fixes: b131853 ("ubox: update to latest git revision")
Signed-off-by: Timo Sigurdsson <public_timo.s@silentcreek.de>
[set to 11 to be explicitly before log, not only alphabetically, SPDX]
Signed-off-by: Paul Spooren <mail@aparcar.org>
package/system/fstools/files/fstab.init

index 08d5601beed810cf558b7425333de84e53f90ab0..03a3993494819da84bf96950fe55f19319a7922d 100644 (file)
@@ -1,7 +1,9 @@
 #!/bin/sh /etc/rc.common
-# (C) 2013 openwrt.org
+# SPDX-License-Identifier: GPL-2.0-only
+#
+# Copyright (C) 2013-2020 OpenWrt.org
 
-START=40
+START=11
 
 boot() {
        /sbin/block mount