diff options
Diffstat (limited to 'net-dialup/capi4k-utils/files/20041006/capi.init')
-rw-r--r-- | net-dialup/capi4k-utils/files/20041006/capi.init | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/net-dialup/capi4k-utils/files/20041006/capi.init b/net-dialup/capi4k-utils/files/20041006/capi.init deleted file mode 100644 index b5a98bf13d77..000000000000 --- a/net-dialup/capi4k-utils/files/20041006/capi.init +++ /dev/null @@ -1,45 +0,0 @@ -#!/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/20041006/capi.init,v 1.1 2004/11/13 10:29:19 mrness Exp $ - -opts="start stop info show" - -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 "Loading CAPI" - - if /usr/sbin/capiinit start ; then - /usr/sbin/capiinit status | while read INFO; do - einfo " $INFO" - done - fi - - eend $? -} - -stop() { - ebegin "Unloading CAPI" - - /usr/sbin/capiinit stop 2>/dev/null - - eend $? -} - -info() { - /usr/sbin/capiinit status -} - -show() { - /usr/sbin/capiinit show -} - |