diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-03-04 19:14:02 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-03-04 19:14:02 +0000 |
commit | 755148bc0b529d36726c383828049bd8a18810ad (patch) | |
tree | 99251c9428d414dcf5eafcf4e7e80db8c2a57f22 /net-dialup/capi4k-utils | |
parent | Version bumped. Marked 2.0.38 stable for x86 (diff) | |
download | historical-755148bc0b529d36726c383828049bd8a18810ad.tar.gz historical-755148bc0b529d36726c383828049bd8a18810ad.tar.bz2 historical-755148bc0b529d36726c383828049bd8a18810ad.zip |
gpl2, forget the later
Diffstat (limited to 'net-dialup/capi4k-utils')
-rw-r--r-- | net-dialup/capi4k-utils/files/capi | 33 |
1 files changed, 13 insertions, 20 deletions
diff --git a/net-dialup/capi4k-utils/files/capi b/net-dialup/capi4k-utils/files/capi index 6348dbf7166d..e98db26cd178 100644 --- a/net-dialup/capi4k-utils/files/capi +++ b/net-dialup/capi4k-utils/files/capi @@ -1,30 +1,23 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-dialup/capi4k-utils/files/capi,v 1.2 2003/02/14 22:58:24 vapier Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/capi4k-utils/files/capi,v 1.3 2004/03/04 19:08:22 vapier Exp $ depend() { - - after isapnp - + after isapnp } start() { - - [ -e /etc/capi.conf ] || { - 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 - } - /sbin/capiinit start - eend 0 - + 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 + /sbin/capiinit start + eend 0 } stop() { - - /sbin/capiinit stop - eend $? - + /sbin/capiinit stop + eend $? } - |