mjpg-streamer: fix option enabled check in init.d
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>
Fri, 2 Aug 2024 19:46:38 +0000 (16:46 -0300)
committerRosen Penev <rosenp@gmail.com>
Sat, 3 Aug 2024 07:19:48 +0000 (00:19 -0700)
commit20ea1d9812fe8d6f693e21004d0eaeb5a5128718
treedba14a353b53106e3032c68c279fd37deea4c3a3
parent6fb32638e790b25c65466d3df9514c1b6631c0f0
mjpg-streamer: fix option enabled check in init.d

[ "$enabled" ] returns true whatever non-empty value enabled has,
including 0.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
multimedia/mjpg-streamer/Makefile
multimedia/mjpg-streamer/files/mjpg-streamer.init