Browse Source

ttyd: fix debug config option

Append missing debug option value.
If this is not append and the debug option is selected, then we get the
following error output on ttyd start.

> ttyd: missing start command

To fix this add missing debug option value.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
lilik-openwrt-22.03
Florian Eckert 4 years ago
parent
commit
b567333db6
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      utils/ttyd/Makefile
  2. +1
    -1
      utils/ttyd/files/ttyd.init

+ 1
- 1
utils/ttyd/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ttyd
PKG_VERSION:=1.6.1
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/tsl0922/ttyd/tar.gz/$(PKG_VERSION)?


+ 1
- 1
utils/ttyd/files/ttyd.init View File

@ -79,7 +79,7 @@ ttyd_instance()
${ssl_cert:+-C $ssl_cert} \
${ssl_key:+-K $ssl_key} \
${ssl_ca:+-A $ssl_ca} \
${debug:+-d}
${debug:+-d $debug}
config_list_foreach "$1" client_option "procd_append_param command -t"
procd_append_param command $command
procd_set_param stdout 1


Loading…
Cancel
Save