- migrated to Exherbo
- added a few initial Pantheon components
This commit is contained in:
parent
cb6360a7e8
commit
2d2bbbc830
85 changed files with 931 additions and 2 deletions
23
gentoo-packages/x11-misc/bumblebee/files/bumblebee.initd
Normal file
23
gentoo-packages/x11-misc/bumblebee/files/bumblebee.initd
Normal file
|
@ -0,0 +1,23 @@
|
|||
#!/sbin/runscript
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
depend() {
|
||||
need xdm vgl
|
||||
}
|
||||
|
||||
PIDFILE="${PIDFILE:-/var/run/bumblebee.pid}"
|
||||
|
||||
start() {
|
||||
ebegin "Starting BumbleBee Daemon"
|
||||
start-stop-daemon -S -p "${PIDFILE}" -x /usr/sbin/bumblebeed -- -D ${BUMBLEBEE_EXTRA_OPTS} --pidfile "${PIDFILE}"
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
||||
ebegin "Stopping BumbleBee Daemon"
|
||||
start-stop-daemon -K -p "${PIDFILE}" -R SIGTERM/10
|
||||
eend $?
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue