Browse Source

Cleanup Makefile edit, add back lost cut-n-paste in init script

Signed-off-by: Ted Hess <thess@kitschensync.net>
lilik-openwrt-22.03
Ted Hess 11 years ago
parent
commit
7884c022ac
2 changed files with 4 additions and 1 deletions
  1. +0
    -1
      multimedia/mjpg-streamer/Makefile
  2. +4
    -0
      multimedia/mjpg-streamer/files/mjpg-streamer.init

+ 0
- 1
multimedia/mjpg-streamer/Makefile View File

@ -29,7 +29,6 @@ define Package/mjpg-streamer
CATEGORY:=Multimedia
TITLE:=MJPG-streamer
DEPENDS:=+libpthread +libjpeg +PACKAGE_libv4l:libv4l
#$(if $(CONFIG_MJPG_STREAMER_V4L2),+libv4l)
URL:=http://mjpg-streamer.wiki.sourceforge.net/
MENU:=1
endef


+ 4
- 0
multimedia/mjpg-streamer/files/mjpg-streamer.init View File

@ -61,6 +61,10 @@ start_instance() {
config_get www "$s" 'www'
[ -n "$www" ] && output_arg="${output_arg} --www $www"
config_get username "$s" 'username'
config_get password "$s" 'password'
[ -n "$username" ] && [ -n "$password" ] && output_arg="${output_arg} --credentials $username:$password"
fi
if [ -z "$output_arg" ]; then


Loading…
Cancel
Save