iwpmd init script does not work on Debian

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux