summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraxn <neumann@cgws.de>2018-04-25 08:50:21 +0200
committerGitHub <noreply@github.com>2018-04-25 08:50:21 +0200
commit0cbe4d4b9b91562585cca3ff513f6629e691ba47 (patch)
treef51d2b6e232ecc700a6519694bbaab90bab98d18
parentc9d120adc62047c77ef1ba8ec578711b5cb58330 (diff)
parent015e5e99f2b644647ded7c0a5ab112bccb02b15f (diff)
Merge pull request #364 from aparcar/bmx7-reload
bmx7: use configReaload on service reload
-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
+}