uvol: move uxc persistent config volume to /var/run/uxc
authorDaniel Golle <redacted>
Mon, 30 Aug 2021 19:40:21 +0000 (20:40 +0100)
committerDaniel Golle <redacted>
Mon, 30 Aug 2021 19:48:26 +0000 (20:48 +0100)
As /var/state is used for UCI state, move persistent config for uxc
from /var/state/uxc to /var/run/uxc.
uxc itself has already been changed to look for it there.

Signed-off-by: Daniel Golle <redacted>
utils/uvol/files/common.sh

index e3b554e1809bf780371851efceb3ed1fd857a34d..e26c26404b12ef990736296ef371720a6ed8fecd 100644 (file)
@@ -24,7 +24,7 @@ uvol_uci_add() {
 
        case "$uciname" in
                "_uxc")
-                       target="/var/state/uxc"
+                       target="/var/run/uxc"
                        ;;
                "_"*)
                        return 1
git clone https://git.99rst.org/PROJECT