uhttpd: add config option for json_script
authorStijn Tintel <stijn@linux-ipv6.be>
Fri, 20 Aug 2021 11:33:51 +0000 (14:33 +0300)
committerStijn Tintel <stijn@linux-ipv6.be>
Tue, 24 Aug 2021 11:45:42 +0000 (14:45 +0300)
commit6393ea15815e57802377ebecb17edf8ad20a0736
treed28e859fbb8d46b546ae77aed1e4f00ed4a7b336
parentc0afe3a5d2239fb40aa566e4d81666b4461f07fb
uhttpd: add config option for json_script

Add a config option for json_script instead of unconditionally including
all json files in /etc/uhttpd in every uhttpd instance. This makes it
possible to configure a single instance with an unconditional redirect,
which currently renders all other uhttpd instances unusable.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Felix Fietkau <nbd@nbd.name>
package/network/services/uhttpd/Makefile
package/network/services/uhttpd/files/uhttpd.init