nut: Fix NUT CGI startup script 10846/head
authorDaniel F. Dickinson <cshored@thecshore.com>
Tue, 17 Dec 2019 11:17:53 +0000 (06:17 -0500)
committerDaniel F. Dickinson <cshored@thecshore.com>
Sat, 21 Dec 2019 10:30:40 +0000 (05:30 -0500)
commit45c95e86292479d8a9d0ef0beee51b26836fe598
tree9beb6eb2567946832d98d2384917d0f588f6b363
parent44b1f65cc454f80bf4436a6a963fea2649aea8fb
nut: Fix NUT CGI startup script

Commit c1aa1f784c737283b281da7a541921a88a81e684 which backported
a number of fixes from master, missed one fix for nut-cgi.  If
nut-cgi is installed standalone or nut-cgi starts before nut-server
(the default in 18.04.5) then the configuration file directory does
not get create and therefore there is no CGI configuration file.
This commit fixes that.

Closes: #10687
Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
net/nut/Makefile
net/nut/files/nut-cgi.init