wrong init-script PID Reproducible: Always Steps to Reproduce: 1./etc/init.d/wimax create PID=/var/run/wimaxd.wmx0.pid 2.in script used PID=/var/run/wimax.pid 3. Actual Results: init-script can't stop wimax daemon
--- wimax.old 2010-09-27 10:06:22.000000000 +0400 +++ wimax.new 2010-09-27 15:48:56.000000000 +0400 @@ -4,7 +4,6 @@ # $Header: /var/cvsroot/gentoo-x86/net-wireless/wimax/files/wimax,v 1.2 2010/07/26 22:13:27 alexxy Exp $ description="WiMAX Network Service" - depend() { need localmount after bootmisc @@ -12,13 +11,14 @@ depend() { start() { ebegin "Starting WiMAX Network Service" - [ -e /var/run/wimaxd.pid ] && rm -f /var/run/wimaxd.pid - start-stop-daemon --start --quiet --pidfile /var/run/wimax.pid --exec /usr/bin/wimaxd -b + [ -e /var/run/wimaxd.wmx0.pid ] && rm -f /var/run/wimaxd.wmx0.pid + start-stop-daemon --start --quiet --pidfile /var/run/wimaxd.wmx0.pid --exec /usr/bin/wimaxd -b eend $? } stop() { ebegin "Stoping WiMAX Network Service" - start-stop-daemon --stop --quiet --pidfile /var/run/wimax.pid + start-stop-daemon --stop --quiet --pidfile /var/run/wimaxd.wmx0.pid eend $? }
Please attach your patch to this bug. Thank you
all new patches & scripts in this bug http://bugs.gentoo.org/show_bug.cgi?id=335476
Fixed in tree