git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
1d512d2
)
mwan3: update to version 1.5-8
author
Adze1502
<redacted>
Tue, 7 Oct 2014 09:23:02 +0000
(11:23 +0200)
committer
Adze1502
<redacted>
Tue, 7 Oct 2014 09:23:02 +0000
(11:23 +0200)
Fix bug introduced in version 1.5-7; args were not parsed to script.
Signed-off-by: Jeroen Louwes <redacted>
net/mwan3/Makefile
patch
|
blob
|
history
net/mwan3/files/usr/sbin/mwan3
patch
|
blob
|
history
diff --git
a/net/mwan3/Makefile
b/net/mwan3/Makefile
index 6ddeef4ea87134ffa50a5004bd2c2bdb91fdbf02..7839ce207220d92c30fdc2de5c0217bdc89fc4cf 100644
(file)
--- 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
index 5734b8a25ad581239f956a03d5629344ce76127a..5d9f719f10619b4f651967bc58ff06b181dc7177 100755
(executable)
--- 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
git clone https://git.99rst.org/PROJECT