On Thu, Aug 29, 2002 at 02:17:30PM +0200, Johannes Roeder wrote:
Hallo Karsten!
Wenn Du mir die /etc/init.d/capi4linux Datei schickst, mach ich einen Vorschlag.
In /etc/init.d gibt es nur das Skript "c4l_start", was capiinit aufruft:
#! /bin/sh # Start/stop of CAPI4Linux echo capiinit $1 capiinit $1
Von /usr/sbin/capiinit habe ich keine Quellen gefunden... Bei i4l dabei.
Vielleicht kann man den Aufruf für isdnlog ja auch in c4l_start einbauen?
OK, das ist zwar nicht LSB compilant, aber sollte soweit tun. #! /bin/sh # Start/stop of CAPI4Linux echo capi4linux $1 case $1 in start) capiinit start # maybe a sleep is also here neeeded to give # the controller time togo activ e.g. # sleep 5 modprobe capidrv isdnlog -f /etc/isdn/isdnlog.isdnctrl0.options /dev/isdnctrl0 ;; stop) killall isdnlog # give isdnlog time to go away sleep 2 rmmod -r capidrv capiinit stop ;; esac exit 0 -- Karsten Keil SuSE Labs ISDN development