aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/fstools
diff options
context:
space:
mode:
authorTimo Sigurdsson <public_timo.s@silentcreek.de>2021-06-26 13:04:49 +0200
committerPaul Spooren <mail@aparcar.org>2021-09-22 16:49:10 -1000
commitf83e927b8744c0642fd61245935c4bb20e0b6f33 (patch)
treed5cadfc2e3208b8610a3841b4e1814b7faf08416 /package/system/fstools
parent97bc59a5c051a1ed1fbc40e394bc52e7604b6af0 (diff)
downloadupstream-f83e927b8744c0642fd61245935c4bb20e0b6f33.tar.gz
upstream-f83e927b8744c0642fd61245935c4bb20e0b6f33.tar.bz2
upstream-f83e927b8744c0642fd61245935c4bb20e0b6f33.zip
fstools: ensure filesystems are mounted before log service starts
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>
Diffstat (limited to 'package/system/fstools')
-rw-r--r--package/system/fstools/files/fstab.init6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/system/fstools/files/fstab.init b/package/system/fstools/files/fstab.init
index 08d5601bee..03a3993494 100644
--- a/package/system/fstools/files/fstab.init
+++ b/package/system/fstools/files/fstab.init
@@ -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