uvol: move uxc persistent config volume to /var/run/uxc

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 <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2021-08-30 20:40:21 +01:00
parent 6b7193bbd1
commit 9514757308
No known key found for this signature in database
GPG Key ID: 5A8F39C31C3217CA
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ uvol_uci_add() {
case "$uciname" in
"_uxc")
target="/var/state/uxc"
target="/var/run/uxc"
;;
"_"*)
return 1