diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2023-12-16 10:09:35 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-12-16 10:27:13 +0200 |
commit | b195f220594513e94954633d2c754ddd1f253fd7 (patch) | |
tree | 30ae5d029f469a48d9b5a17525846d590aa2ea7f /net-misc/dahdi-tools/files/dahdi.init2 | |
parent | net-libs/libpri: treeclean (diff) | |
download | gentoo-b195f220594513e94954633d2c754ddd1f253fd7.tar.gz gentoo-b195f220594513e94954633d2c754ddd1f253fd7.tar.bz2 gentoo-b195f220594513e94954633d2c754ddd1f253fd7.zip |
net-misc/dahdi-tools: treeclean
Closes: https://bugs.gentoo.org/914477
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'net-misc/dahdi-tools/files/dahdi.init2')
-rw-r--r-- | net-misc/dahdi-tools/files/dahdi.init2 | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/net-misc/dahdi-tools/files/dahdi.init2 b/net-misc/dahdi-tools/files/dahdi.init2 deleted file mode 100644 index d3abf3c4e61e..000000000000 --- a/net-misc/dahdi-tools/files/dahdi.init2 +++ /dev/null @@ -1,36 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need net -} - -checkconfig() { - if [ ! -f /etc/dahdi/system.conf ]; then - eerror "/etc/dahdi/system.conf not found. Nothing to do." - return 1 - fi - - return 0 -} - -start() { - checkconfig || return 1 - - ebegin "Starting DAHDI" - /usr/sbin/dahdi_cfg - eend $? - - if [ $? -eq 0 -a -r /etc/fxotune.conf ]; then - ebegin "Loading DAHDI fxotune.conf" - /usr/sbin/fxotune -s - eend $? - fi -} - -stop() { - ebegin "Stopping DAHDI" - /usr/sbin/dahdi_cfg -s - eend -} |