summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2004-11-10 21:30:05 +0000
committerAlin Năstac <mrness@gentoo.org>2004-11-10 21:30:05 +0000
commitbfcbfc32052706503858572fd1cb98881d577971 (patch)
tree9dcb2aca87fac2e176d4b48107f8c3720f44c594 /net-dialup/isdn4k-utils/files
parentrepoman: Trim trailing whitespace (Manifest recommit) (diff)
downloadgentoo-2-bfcbfc32052706503858572fd1cb98881d577971.tar.gz
gentoo-2-bfcbfc32052706503858572fd1cb98881d577971.tar.bz2
gentoo-2-bfcbfc32052706503858572fd1cb98881d577971.zip
improved init scripts & actualized dependencies
Diffstat (limited to 'net-dialup/isdn4k-utils/files')
-rw-r--r--net-dialup/isdn4k-utils/files/3.5_p20041024/isdn4linux.conf5
-rw-r--r--net-dialup/isdn4k-utils/files/3.5_p20041024/isdn4linux.init12
-rw-r--r--net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.5_p20041024-r12
3 files changed, 17 insertions, 2 deletions
diff --git a/net-dialup/isdn4k-utils/files/3.5_p20041024/isdn4linux.conf b/net-dialup/isdn4k-utils/files/3.5_p20041024/isdn4linux.conf
index 9c37494ca519..b81d7173c1ed 100644
--- a/net-dialup/isdn4k-utils/files/3.5_p20041024/isdn4linux.conf
+++ b/net-dialup/isdn4k-utils/files/3.5_p20041024/isdn4linux.conf
@@ -1,3 +1,6 @@
# Location where isdnctrl will save its configuration
-
ISDNCTRL_SAVE="/var/lib/isdn4linux/isdnctrl.conf"
+
+# ISDN drivers to load via modprobe
+# comment out to disable
+ISDN_DRIVERS="capidrv"
diff --git a/net-dialup/isdn4k-utils/files/3.5_p20041024/isdn4linux.init b/net-dialup/isdn4k-utils/files/3.5_p20041024/isdn4linux.init
index e65c5826e5a9..428e2830f74a 100644
--- a/net-dialup/isdn4k-utils/files/3.5_p20041024/isdn4linux.init
+++ b/net-dialup/isdn4k-utils/files/3.5_p20041024/isdn4linux.init
@@ -1,15 +1,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/isdn4k-utils/files/3.5_p20041024/isdn4linux.init,v 1.1 2004/11/09 16:40:56 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/files/3.5_p20041024/isdn4linux.init,v 1.2 2004/11/10 21:30:05 mrness Exp $
opts="start stop save reload"
depend() {
use pcmcia
+ after capi
}
start() {
+ # set this variable if you want to load drivers
+ for DRIVER in ${ISDN_DRIVERS} ; do
+ if ! /bin/grep -q "^${DRIVER} " /proc/modules ; then
+ ebegin "Loading ISDN driver ${DRIVER}"
+ /sbin/modprobe ${DRIVER}
+ eend $?
+ fi
+ done
+
ebegin "Loading isdnctrl configuration"
# This variable is set in /etc/conf.d/isdn4linux
diff --git a/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.5_p20041024-r1 b/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.5_p20041024-r1
new file mode 100644
index 000000000000..50734554dc2d
--- /dev/null
+++ b/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.5_p20041024-r1
@@ -0,0 +1,2 @@
+MD5 453e6ca8812555d96fe3e840c89b15a8 isdn4k-utils-CVS-2004-10-24.tar.bz2 5508166
+MD5 dec7c96a6b3e8aa524bf0bcbae1f8af7 vbox3_0.1.9.tar.gz 105619