uxc: support config in uvol
authorDaniel Golle <daniel@makrotopia.org>
Sun, 15 Aug 2021 13:06:39 +0000 (14:06 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 15 Aug 2021 14:16:39 +0000 (15:16 +0100)
commit104b49d6ab25a8cf067e6d8d1f2da7defb9876d4
tree808957e9fe7e85472599af58ab1ee6364f975cd5
parentff9002fd3e168fe2161e7c6f8697216e2beda5a2
uxc: support config in uvol

In case '/var/state/uxc' exists and is a directory (or symlink pointing
to a directory), use that instead of '/etc/uxc'.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
uxc.c