salsa.debian.org/debian / smcroute

Drop 0005-fix-init-script-stop-command.patch (applied upstream)

Micha Lenk · 5 years ago commit 22e824b · parent 004600b · child 207c0f3 · patch
diff --git a/debian/patches/0005-fix-init-script-stop-command.patch b/debian/patches/0005-fix-init-script-stop-command.patch
deleted file mode 100644
index f86f3b9..0000000
--- a/debian/patches/0005-fix-init-script-stop-command.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-commit 6f4e2c1ce8e0f6821e5254000ed43a4fd7744782
-Author: hn <hn@users.noreply.github.com>
-Date:   Mon Jan 28 09:56:33 2019 +0100
-
-    fix init script 'stop' command
-
-diff --git a/smcroute.init b/smcroute.init
-old mode 100644
-new mode 100755
-index 00411b8..d0c7752
---- a/smcroute.init
-+++ b/smcroute.init
-@@ -18,6 +18,7 @@
- 
- PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
- DAEMON=/usr/sbin/smcrouted
-+DAEMONCTL=/usr/sbin/smcroutectl
- DAEMON_OPTS=
- NAME=smcrouted
- DESC="static multicast router daemon"
-@@ -50,7 +51,7 @@ stop() {
- 	local error
- 	local result
- 	log_begin_msg "Stopping $DESC: $NAME"
--	error=$($DAEMON -k 2>&1)
-+	error=$($DAEMONCTL kill 2>&1)
- 	result=$?
- 	log_progress_msg ${error#ERRO: }
- 	log_end_msg $result
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index a1db632..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-0005-fix-init-script-stop-command.patch