Skip to contentSkip to conversation

initscript-telnetd: fix stopping daemon

PATCH New Kirill Esipov 1 participant 1 message Mar 21, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 initscript-telnetd: fix stopping daemon

Stop with --exec options, as no pidfile was generated on start.

---
 .../recipes-connectivity/initscript-telnetd/initscript-telnetd.bb       | 2 +-
 .../recipes-connectivity/initscript-telnetd/initscript-telnetd/telnetd  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd.bb +1 -1
index d71540f49bd1..e492119b337b 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "Initscripts for telnetd"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://telnetd;beginline=2;endline=18;md5=d134d0d385c53f9201a270fef8448f29"
-PR ="r0"
+PR ="r1"
 
 SRC_URI = "file://telnetd"
 
meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd/telnetd +1 -1
index 116dd6d159f6..a99f23ef2483 100644
@@ -29,7 +29,7 @@ case "$1" in
     ;;
   stop)
     echo -n "Stopping telnet daemon"
-    start-stop-daemon --stop --quiet --pidfile /var/run/telnetd.pid
+    start-stop-daemon --stop --quiet --exec $telnetd
     echo "."
     ;;
   *)
Signature · 1 line
2.7.4