diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-03-04 19:08:42 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-03-04 19:08:42 +0000 |
commit | 5880bba8666b642ed8e3fb75fe89b990ee58a4a6 (patch) | |
tree | a0e0812392937048b1259e7a4dc08f72a022ac6c /net-dialup/capi4k-utils | |
parent | Removed old ebuilds (Manifest recommit) (diff) | |
download | gentoo-2-5880bba8666b642ed8e3fb75fe89b990ee58a4a6.tar.gz gentoo-2-5880bba8666b642ed8e3fb75fe89b990ee58a4a6.tar.bz2 gentoo-2-5880bba8666b642ed8e3fb75fe89b990ee58a4a6.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 $? } - |