blob: bfa88b5a3c91901cacfd408a9af20c3eb597ba1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/capi4k-utils/files/capi-init-20041006,v 1.2 2004/10/31 22:30:12 dragonheart Exp $
depend() {
after isapnp
}
start() {
if [ ! -e /etc/capi.conf ] ; then
eerror "You're missing /etc/capi.conf (comes with a capi-driver)."
eerror "Emerge net-dialup/fcpci if you are having an AVM Fritz!Card PCI"
return 1
fi
ebegin "Starting CAPI"
/usr/sbin/capiinit start
eend $?
}
stop() {
ebegin "Stopping CAPI"
/usr/sbin/capiinit stop
eend $?
}
|