* iwpmd init script does not work on Debian
@ 2017-05-10 12:53 Benjamin Drung
[not found] ` <1494420825.3739.4.camel-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Drung @ 2017-05-10 12:53 UTC (permalink / raw)
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Hi,
the iwpmd init script specifies:
if [ -f "/etc/redhat-release" ]; then
. /etc/rc.d/init.d/functions
STARTD=daemon
STOPD=killproc
STATUSD=status
GETPID=/sbin/pidof
elif [ -f "/etc/SuSE-release" ]; then
. /lib/lsb/init-functions
STARTD=start_daemon
STOPD=killproc
STATUSD=/sbin/checkproc
GETPID=/sbin/pidofproc
fi
This does not work on Debian/Ubuntu. You can source /lib/lsb/init-
functions which provides the functions start_daemon, pidofproc,
killproc, status_of_proc.
--
Benjamin Drung
System Developer
Debian & Ubuntu Developer
ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin
Email: benjamin.drung-EIkl63zCoXaH+58JC4qpiA@public.gmane.org
Web: https://www.profitbricks.com
Sitz der Gesellschaft: Berlin.
Registergericht: Amtsgericht Charlottenburg, HRB 125506B.
Geschäftsführer: Achim Weiss.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-05-10 15:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-10 12:53 iwpmd init script does not work on Debian Benjamin Drung
[not found] ` <1494420825.3739.4.camel-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2017-05-10 15:26 ` Jason Gunthorpe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox