diff options
author | Alin Năstac <mrness@gentoo.org> | 2004-12-24 08:12:43 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2004-12-24 08:12:43 +0000 |
commit | a92f7fc6ac06556e14309037b3690ee2969f8392 (patch) | |
tree | d66efa1eb9c1e76ad16fd2996786a040f4543bd9 /net-dialup/capi4k-utils | |
parent | Version bump. (diff) | |
download | historical-a92f7fc6ac06556e14309037b3690ee2969f8392.tar.gz historical-a92f7fc6ac06556e14309037b3690ee2969f8392.tar.bz2 historical-a92f7fc6ac06556e14309037b3690ee2969f8392.zip |
import new init script from #75117
Diffstat (limited to 'net-dialup/capi4k-utils')
-rw-r--r-- | net-dialup/capi4k-utils/Manifest | 8 | ||||
-rw-r--r-- | net-dialup/capi4k-utils/files/20041006/capi.initd | 9 |
2 files changed, 9 insertions, 8 deletions
diff --git a/net-dialup/capi4k-utils/Manifest b/net-dialup/capi4k-utils/Manifest index 736948308621..51948bc9404c 100644 --- a/net-dialup/capi4k-utils/Manifest +++ b/net-dialup/capi4k-utils/Manifest @@ -14,12 +14,12 @@ MD5 2fe94d2623c5b129780b72bacaf4a7bc files/20041006/rcapid.xinetd 236 MD5 650c413593fe44524150e1365965cdb3 files/20041006/capi.blacklist 455 MD5 fb9f9b4003d8d1647e23cf7b329386f6 files/20041006/capi.confd 424 MD5 2ddf9c04a03949cb2301888586096bfe files/20041006/capi.hotplug 2435 -MD5 52be2456f464fdaca472a9e38d4aca03 files/20041006/capi.initd 1189 +MD5 c5a549ccab638e5b694c2e57a13b1c84 files/20041006/capi.initd 1187 MD5 fa4cf0be46c4a16a2ef6fd178ed54c01 files/20041006/capi.usermap 1504 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) -iD8DBQFByzFXjtv59x0+BrURAu7NAJ9vOAQp75qu06Mt4206/jkkVx3CvQCgmVYj -QFsx3dzSTN8mzrHy1/Fvl2o= -=tS4m +iD8DBQFBy8+Gjtv59x0+BrURAhsqAKCIki/0LcjXManBasSFo5NZicqovACfat0B +ThyH/4SiTpVjoW6mLUGFx2I= +=EG/b -----END PGP SIGNATURE----- diff --git a/net-dialup/capi4k-utils/files/20041006/capi.initd b/net-dialup/capi4k-utils/files/20041006/capi.initd index 947556ab4901..2339761abcd5 100644 --- a/net-dialup/capi4k-utils/files/20041006/capi.initd +++ b/net-dialup/capi4k-utils/files/20041006/capi.initd @@ -1,7 +1,7 @@ #!/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.initd,v 1.1 2004/12/23 20:57:46 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/capi4k-utils/files/20041006/capi.initd,v 1.2 2004/12/24 08:12:43 mrness Exp $ opts="start stop info" @@ -22,7 +22,8 @@ start() { ebegin "Loading CAPI" - /usr/sbin/capiinit 2>/dev/null -c /dev/null prepare + /sbin/modprobe -s kernelcapi + /sbin/modprobe -s capi /sbin/modprobe -s capidrv if /usr/sbin/capiinit activate ; then @@ -37,9 +38,9 @@ stop() { ebegin "Unloading CAPI" - /sbin/modprobe -sqr capidrv + /sbin/modprobe -sr capidrv /usr/sbin/capiinit 2>/dev/null stop - for DRV in $DRIVERS; do /sbin/modprobe -sqr $DRV; done + for DRV in $DRIVERS; do /sbin/modprobe -sr $DRV; done eend $? } |