mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-01 10:57:47 +00:00
patches: carry forward uci-defaults sync (0052)
Adds sync after uci-defaults execution to ensure changes are written to disk. Renumbered from patches/0096. Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
From 309a419087da906a2f3b0f39763f021e9729dd85 Mon Sep 17 00:00:00 2001
|
From 2e3b5d5a612dd2d47f9d239b9594b40239d64647 Mon Sep 17 00:00:00 2001
|
||||||
From: Paul White <paul@shasta.cloud>
|
From: Paul White <paul@shasta.cloud>
|
||||||
Date: Mon, 4 Aug 2025 04:14:23 +0000
|
Date: Mon, 4 Aug 2025 04:14:23 +0000
|
||||||
Subject: [PATCH] base-files: boot: add sync after uci-defaults
|
Subject: [PATCH 52/55] base-files: boot: add sync after uci-defaults
|
||||||
|
|
||||||
A scenario was seen where UCI config was not flushed to disk before
|
A scenario was seen where UCI config was not flushed to disk before
|
||||||
an AP power-cycle after uci-defaults was completed. Since these
|
an AP power-cycle after uci-defaults was completed. Since these
|
||||||
@@ -17,10 +17,10 @@ Signed-off-by: Paul White <paul@shasta.cloud>
|
|||||||
1 file changed, 1 insertion(+)
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
|
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
|
||||||
index 15756669a9..c8a803e32c 100755
|
index a26d4886b2..6ff9207de4 100755
|
||||||
--- a/package/base-files/files/etc/init.d/boot
|
--- a/package/base-files/files/etc/init.d/boot
|
||||||
+++ b/package/base-files/files/etc/init.d/boot
|
+++ b/package/base-files/files/etc/init.d/boot
|
||||||
@@ -15,6 +15,7 @@ uci_apply_defaults() {
|
@@ -14,6 +14,7 @@ uci_apply_defaults() {
|
||||||
( . "./$(basename $file)" ) && rm -f "$file"
|
( . "./$(basename $file)" ) && rm -f "$file"
|
||||||
done
|
done
|
||||||
uci commit
|
uci commit
|
||||||
@@ -29,5 +29,5 @@ index 15756669a9..c8a803e32c 100755
|
|||||||
|
|
||||||
boot() {
|
boot() {
|
||||||
--
|
--
|
||||||
2.43.0
|
2.34.1
|
||||||
|
|
||||||
Reference in New Issue
Block a user