]> git.99rst.org Git - openwrt-packages.git/commit
nut: fix erroneous validation of STATEPATH
authorDaniel F. Dickinson <redacted>
Thu, 2 Jul 2026 22:16:00 +0000 (18:16 -0400)
committerJosef Schlehofer <redacted>
Wed, 15 Jul 2026 07:34:39 +0000 (09:34 +0200)
commitc9cb2cfaa8ed55f1a01beafc458708988fbf7436
tree1bc37531e0e04806d18656244c536938dac87ba2
parent6579a08603f085889517898774c04162fc55b8fe
nut: fix erroneous validation of STATEPATH

We should fallback to the default if one is not specified. In addition
find_statepath is the wrong place to check for its existence - it should
be created by the initscript if it does not exist.

See https://github.com/openwrt/packages/pull/29607#discussion_r3462976647

Signed-off-by: Daniel F. Dickinson <redacted>
net/nut/files/nut-service.sh.functions
git clone https://git.99rst.org/PROJECT