Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (a5357e4b247ca3fd20647dd62b6f28d8ade5c9cd)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (a5357e4b247ca3fd20647dd62b6f28d8ade5c9cd)
  • Date: Thu, 2 Aug 2018 17:07:16 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

net/connman/DETAILS | 1 +
net/connman/HISTORY | 4 ++++
net/connman/init.d/connman | 11 +++++++++++
3 files changed, 16 insertions(+)

New commits:
commit a5357e4b247ca3fd20647dd62b6f28d8ade5c9cd
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

connman: added stop procedure for the VPN daemon

diff --git a/net/connman/DETAILS b/net/connman/DETAILS
index 680e4fd..5b85dc8 100755
--- a/net/connman/DETAILS
+++ b/net/connman/DETAILS
@@ -12,6 +12,7 @@ if [ "${CONNMAN_BRANCH}" == "scm" ]; then
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-git"
else
VERSION=1.36
+ PATCHLEVEL=1
SOURCE=${SPELL}-${VERSION}.tar.xz
SOURCE_URL[0]=https://www.kernel.org/pub/linux/network/${SPELL}/${SOURCE}

SOURCE_HASH=sha512:c0b9e924a28d58539d44c314168ae7aa46dfea8ce9d125198f525a6d6ef95ca77fd0357c4c4c7548b362b9de8e6f85c7915b1a4cf89b65116c4cbc4df75318e1
diff --git a/net/connman/HISTORY b/net/connman/HISTORY
index 0eac518..0a8383e 100644
--- a/net/connman/HISTORY
+++ b/net/connman/HISTORY
@@ -1,3 +1,7 @@
+2018-08-02 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=1
+ * init.d/connman: added stop procedure for the VPN daemon
+
2018-05-16 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 1.36 (stable)

diff --git a/net/connman/init.d/connman b/net/connman/init.d/connman
index f1b258e..692a429 100755
--- a/net/connman/init.d/connman
+++ b/net/connman/init.d/connman
@@ -1,6 +1,7 @@
#!/bin/bash

PROGRAM=/usr/sbin/connmand
+PROGRAM_VPND=/usr/sbin/connman-vpnd
ARGS="$CONNMAND_ARGS"
RUNLEVEL=3
NEEDS="+local_fs smgl-messagebus"
@@ -8,6 +9,16 @@ PROVIDES=network

. /etc/init.d/smgl_init

+stop() {
+ _stop
+
+ if pgrep -f "${PROGRAM_VPND}" > /dev/null; then
+ echo "Stopping VPN daemon..."
+
+ killproc ${PROGRAM_VPND}
+ fi
+}
+
reload() {
_restart
}



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (a5357e4b247ca3fd20647dd62b6f28d8ade5c9cd), Vlad Glagolev, 08/02/2018

Archive powered by MHonArc 2.6.24.

Top of Page