commit 816a92fa34b9a4f56067256219869381939d16bd parent 1d512d2843ba6395e8db5887793638e26301501b Author: champtar <champetier.etienne@gmail.com> Date: Tue, 7 Oct 2014 13:20:05 +0200 Merge pull request #401 from Adze1502/master mwan3: update to version 1.5-8 Diffstat:
| M | net/mwan3/Makefile | | | 2 | +- |
| M | net/mwan3/files/usr/sbin/mwan3 | | | 12 | ++++++++++-- |
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/net/mwan3/Makefile b/net/mwan3/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mwan3 PKG_VERSION:=1.5 -PKG_RELEASE:=7 +PKG_RELEASE:=8 PKG_MAINTAINER:=Jeroen Louwes <jeroen.louwes@gmail.com> PKG_LICENSE:=GPLv2 diff --git a/net/mwan3/files/usr/sbin/mwan3 b/net/mwan3/files/usr/sbin/mwan3 @@ -202,5 +202,13 @@ restart() { start } -action=${1:-help} -$action +case "$1" in + ifup|ifdown|interfaces|policies|rules|status|start|stop|restart) + $* + ;; + *) + help + ;; +esac + +exit 0