blob: a2feb33365a34d1b9f59bcb3839e3212f26c1fc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/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/isdn4k-utils/files/3.2_p1-r2/isdn4linux.init,v 1.2 2003/02/14 22:58:35 vapier Exp $
depend() {
use pcmcia
}
start() {
ebegin "Loading isdnctrl configuration"
# This variable is set in /etc/conf.d/isdn4linux
[ ! -f ${ISDNCTRL_SAVE} ] || isdnctrl readconf ${ISDNCTRL_SAVE} >/dev/null
eend $?
}
stop() {
ebegin "Saving isdnctrl configuration"
isdnctrl writeconf ${ISDNCTRL_SAVE} >/dev/null
eend $?
}
|