* [gentoo-commits] repo/gentoo:master commit in: net-vpn/badvpn/files/
@ 2021-02-18 23:06 Conrad Kostecki
0 siblings, 0 replies; only message in thread
From: Conrad Kostecki @ 2021-02-18 23:06 UTC (permalink / raw
To: gentoo-commits
commit: f90801e33ee5f3c95838dde46c65e23dbffe4e88
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Thu Feb 18 17:02:41 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Feb 18 23:05:02 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f90801e3
net-vpn/badvpn: remove unused file
Closes: https://github.com/gentoo/gentoo/pull/19524
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
net-vpn/badvpn/files/badvpn-ncd.init | 48 ------------------------------------
1 file changed, 48 deletions(-)
diff --git a/net-vpn/badvpn/files/badvpn-ncd.init b/net-vpn/badvpn/files/badvpn-ncd.init
deleted file mode 100644
index e408075128a..00000000000
--- a/net-vpn/badvpn/files/badvpn-ncd.init
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Released under the 3-clause BSD license.
-
-command="${ncd_exec:-"/usr/bin/badvpn-ncd"}"
-command_args="${ncd_args} --config-file ${ncd_config:-/etc/ncd.conf}"
-command_background="YES"
-description="Network Configuration Daemon"
-pidfile="/var/run/${RC_SVCNAME}.pid"
-
-depend() {
- need localmount
- after bootmisc
- before netmount
- if yesno "${ncd_syslog:-NO}"; then
- use logger
- fi
-}
-
-start_pre() {
- if yesno "${ncd_syslog:-NO}"; then
- command_args="${command_args}
- --logger syslog
- --syslog-ident \"${ncd_syslog_ident:-${RC_SVCNAME}}\""
- fi
-}
-
-start()
-{
- [ -n "$command" ] || return 0
- local _background=
- ebegin "Starting ${name:-$RC_SVCNAME}"
- if yesno "${command_background}"; then
- if [ -z "${pidfile}" ]; then
- eend 1 "command_background option used but no pidfile specified"
- return 1
- fi
- _background="--background --make-pidfile"
- fi
- eval start-stop-daemon --start \
- --exec $command \
- ${procname:+--name} $procname \
- ${pidfile:+--pidfile} $pidfile \
- $_background $start_stop_daemon_args \
- -- $command_args
- eend $? "Failed to start $RC_SVCNAME"
- return $?
-}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-02-18 23:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-18 23:06 [gentoo-commits] repo/gentoo:master commit in: net-vpn/badvpn/files/ Conrad Kostecki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox