From b15cc4e164cce5529c6bcbf87a3a0dd903d151b8 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 26 Feb 2018 19:16:28 +0100 Subject: [PATCH] committing changes in /etc after emerge run Package changes: --- .etckeeper | 1 - init.d/rfcomm | 34 ---------------------------------- 2 files changed, 35 deletions(-) delete mode 100755 init.d/rfcomm diff --git a/.etckeeper b/.etckeeper index d78eb141..09a37f72 100755 --- a/.etckeeper +++ b/.etckeeper @@ -1737,7 +1737,6 @@ maybe chmod 0755 'init.d/pydoc-2.7' maybe chmod 0755 'init.d/pydoc-3.5' maybe chmod 0755 'init.d/radvd' maybe chmod 0755 'init.d/rarpd' -maybe chmod 0755 'init.d/rfcomm' maybe chmod 0755 'init.d/root' maybe chmod 0755 'init.d/rpc.gssd' maybe chmod 0755 'init.d/rpc.idmapd' diff --git a/init.d/rfcomm b/init.d/rfcomm deleted file mode 100755 index 3bfb010d..00000000 --- a/init.d/rfcomm +++ /dev/null @@ -1,34 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need bluetooth -} - -checkconfig() { - if [ -z "${ADDRESS}" ]; then - eerror "ADDRESS must be set" - return 1 - fi - - return 0 -} - -start() { - local DEVICE=${RC_SVCNAME#*.} - - checkconfig || return 1 - - ebegin "Starting ${RC_SVCNAME}" - rfcomm bind "${DEVICE}" "${ADDRESS}" ${CHANNEL} - eend $? -} - -stop() { - local DEVICE=${RC_SVCNAME#*.} - - ebegin "Shutting down ${RC_SVCNAME}" - rfcomm release "${DEVICE}" - eend $? -} -- 2.39.5