diff --git a/package/lean/luci-app-ttyd/Makefile b/package/lean/luci-app-ttyd/Makefile index cd54f30d2..1554695ce 100644 --- a/package/lean/luci-app-ttyd/Makefile +++ b/package/lean/luci-app-ttyd/Makefile @@ -9,7 +9,7 @@ LUCI_TITLE:=LuCI support for ttyd LUCI_DEPENDS:=+ttyd LUCI_PKGARCH:=all PKG_VERSION:=1.0 -PKG_RELEASE:=2 +PKG_RELEASE:=3 include $(TOPDIR)/feeds/luci/luci.mk diff --git a/package/lean/luci-app-ttyd/root/etc/init.d/ttyd b/package/lean/luci-app-ttyd/root/etc/init.d/ttyd deleted file mode 100755 index 87216650b..000000000 --- a/package/lean/luci-app-ttyd/root/etc/init.d/ttyd +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh /etc/rc.common - -START=99 -SERVICE_WRITE_PID=1 -SERVICE_DAEMONIZE=1 - -start() { - logger -t TTYD 'Starting ttyd service' - service_start /usr/bin/ttyd -i br-lan /bin/login - return 0 -} - -stop() { - if [ -n "`pidof ttyd`" ]; then - logger -t TTYD 'Shutting down ttyd service' - service_stop /usr/bin/ttyd - fi - return 0 -} - -restart() { - logger -t TTYD 'Restarting ttyd service' - stop - sleep 2 - start -}