summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-freebsd/freebsd-usbin/files/powerd.initd')
-rw-r--r--sys-freebsd/freebsd-usbin/files/powerd.initd27
1 files changed, 0 insertions, 27 deletions
diff --git a/sys-freebsd/freebsd-usbin/files/powerd.initd b/sys-freebsd/freebsd-usbin/files/powerd.initd
deleted file mode 100644
index ff79f6391c4..00000000000
--- a/sys-freebsd/freebsd-usbin/files/powerd.initd
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-depend() {
- need localmount
-}
-
-start() {
- local args=
- [ -n "${BATTERY_MODE}" ] && args="${args} -b ${BATTERY_MODE}"
- [ -n "${AC_MODE}" ] && args="${args} -a ${AC_MODE}"
-
- ebegin "Starting Power Control Daemon"
- start-stop-daemon --start --exec /usr/sbin/powerd \
- --pidfile /var/run/powerd.pid \
- -- ${args} ${POWERD_OPTS}
- eend $? "Failed to start powerd"
-}
-
-stop() {
- ebegin "Stopping Power Control Daemon"
- start-stop-daemon --stop --exec /usr/sbin/powerd \
- --pidfile /var/run/powerd.pid
- eend $? "Failed to stop powerd"
-}