3 # $NetBSD: isdnd,v 1.9 2002/04/10 23:37:13 martin Exp $
4 # $FreeBSD: src/etc/rc.d/isdnd,v 1.15 2003/07/15 12:39:37 mtm Exp $
5 # $DragonFly: src/etc/rc.d/isdnd,v 1.5 2005/11/19 21:47:32 swildner Exp $
7 # Mostly based on original script (/etc/rc.isdn) written by Hellmuth Michaelis
11 # REQUIRE: netif mountcritlocal
16 rcvar
=`set_rcvar isdn`
17 pidfile
="/var/run/${name}.pid"
18 start_cmd
="isdnd_start"
22 echo -n 'ISDN subsystem setup:'
29 /usr
/sbin
/isdnd
${isdn_flags}
32 # Change vidmode of ${isdn_fsdev}
34 case ${isdn_screenflags} in
38 /usr
/sbin
/vidcontrol
< ${isdn_fsdev} > ${isdn_fsdev} 2>&1 ${isdn_screenflags}
42 /usr
/sbin
/isdnd
${isdn_flags} -f -r ${isdn_fsdev} -t ${isdn_ttype}
48 if checkyesno isdn_trace
; then
50 nohup
/usr
/sbin
/isdntrace
${isdn_traceflags} >/dev
/null
2>&1 &