# Source function library.
. /etc/rc.d/init.d/functions
# Check that networking is up.
#[ ! -f /etc/sysconfig/isdn0 ] && exit
0
# See how we were called.
case "$1" in
start)
echo
"Starting isdn services: "
/sbin/modprobe
hisax type=3 id=teles irq=5 io=0x0d80 protocol=2
touch
/var/lock/subsys/isdn
;;
stop)
echo
-n "Shutting down isdn services: "
count=0
modprobe
-r hisax
rm
-f /var/lock/subsys/isdn
echo
""
;;
restart)
$0
stop
$0
start
;;
status)
;;
*)
echo
"Usage: smb {start|stop|restart|status}"
exit
1
esac
chmod 755 /etc/rc.d/init.d/isdn