Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/routing.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bmx7
diff options
context:
space:
mode:
authorPaul Spooren <spooren@informatik.uni-leipzig.de>2018-04-24 07:16:50 +0300
committerPaul Spooren <spooren@informatik.uni-leipzig.de>2018-04-25 09:48:43 +0300
commit015e5e99f2b644647ded7c0a5ab112bccb02b15f (patch)
treef51d2b6e232ecc700a6519694bbaab90bab98d18 /bmx7
parentc9d120adc62047c77ef1ba8ec578711b5cb58330 (diff)
bmx7: use configReaload on service reload
It's #363 for procdbmx7: use configReaload on service reload Signed-off-by: Paul Spooren <spooren@informatik.uni-leipzig.de>
Diffstat (limited to 'bmx7')
-rw-r--r--bmx7/Makefile2
-rwxr-xr-xbmx7/files/etc/init.d/bmx74
2 files changed, 5 insertions, 1 deletions
diff --git a/bmx7/Makefile b/bmx7/Makefile
index b2d07ab..612fb55 100644
--- a/bmx7/Makefile
+++ b/bmx7/Makefile
@@ -33,7 +33,7 @@ PKG_SOURCE_URL:=git://github.com/bmx-routing/bmx7.git
PKG_REV:=f78db8298dd8b3658f6fcfa90df2644a15b99924
PKG_MIRROR_HASH:=80ca8e04603d824e4dede0055030c765bd9e69f7945c01ffb953de37b228028e
PKG_VERSION:=r2018030903
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_LICENSE:=GPL-2.0
PKG_SOURCE_VERSION:=$(PKG_REV)
diff --git a/bmx7/files/etc/init.d/bmx7 b/bmx7/files/etc/init.d/bmx7
index d8f1939..515dc88 100755
--- a/bmx7/files/etc/init.d/bmx7
+++ b/bmx7/files/etc/init.d/bmx7
@@ -18,3 +18,7 @@ start_service() {
procd_set_param respawn
procd_close_instance
}
+
+reload_service() {
+ $BIN -c configReload
+}