From: Dirk Brenken Date: Tue, 3 Nov 2020 18:37:32 +0000 (+0100) Subject: travelmate: adapt openwrt rc.common changes X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=65bee292d930ca7b5affb0805a56e5a4ab0ee62e;p=feed%2Fpackages.git travelmate: adapt openwrt rc.common changes * since openwrt master has merged the depending P/R, the old extra_help/extra_commands syntax is no longer working, see #13798 for reference Signed-off-by: Dirk Brenken --- diff --git a/net/travelmate/Makefile b/net/travelmate/Makefile index cb207c1781..bf6dd1563a 100644 --- a/net/travelmate/Makefile +++ b/net/travelmate/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=travelmate PKG_VERSION:=2.0.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_LICENSE:=GPL-3.0-or-later PKG_MAINTAINER:=Dirk Brenken diff --git a/net/travelmate/files/travelmate.init b/net/travelmate/files/travelmate.init index 2bfd5c1630..a2256b7178 100755 --- a/net/travelmate/files/travelmate.init +++ b/net/travelmate/files/travelmate.init @@ -6,9 +6,8 @@ START=25 USE_PROCD=1 -EXTRA_COMMANDS="scan setup" -EXTRA_HELP=" scan Scan for available nearby uplinks - setup [] [] [] Setup the travelmate uplink interface, by default 'trm_wwan' with firewall zone 'wan' and metric '100'" +extra_command "scan" " Scan for available nearby uplinks" +extra_command "setup" "[] [] [] Setup the travelmate uplink interface, by default 'trm_wwan' with firewall zone 'wan' and metric '100'" trm_init="/etc/init.d/travelmate" trm_script="/usr/bin/travelmate.sh"