summaryrefslogtreecommitdiff
path: root/libre/virtualbox-libre/vboxservice.rc
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-02-21 19:25:16 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-02-21 19:25:16 -0200
commitb7a8b89555b68f0e4c60902dce58204e4b161a73 (patch)
tree18545a486ff7d84884d4b33cc3d03121188b1e80 /libre/virtualbox-libre/vboxservice.rc
parent1f49e88e82744768086e050aa4a32eb0224eda8e (diff)
virtualbox-libre-4.2.6-4: updating revision
* Fix https://bugs.archlinux.org/task/33236 * Drop rc scripts - remove ft=sh from vim modeline in PKGBUILD * Add patch for upcoming linux-libre 3.8 * Rebuild with qt4 * Rebuild against linux-libre 3.8
Diffstat (limited to 'libre/virtualbox-libre/vboxservice.rc')
-rw-r--r--libre/virtualbox-libre/vboxservice.rc39
1 files changed, 0 insertions, 39 deletions
diff --git a/libre/virtualbox-libre/vboxservice.rc b/libre/virtualbox-libre/vboxservice.rc
deleted file mode 100644
index 5a62d69a3..000000000
--- a/libre/virtualbox-libre/vboxservice.rc
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/${0##*/}
-
-name=VBoxService
-PID=$(pidof -o %PPID $name)
-
-case "$1" in
- start)
- stat_busy 'Starting VirtualBox Guest Service'
- [[ -z "$PID" ]] && ${name} $VBOX_SERVICE_OPTION &>/dev/null \
- && { add_daemon ${0##*/}; stat_done; } \
- || { stat_fail; exit 1; }
- ;;
- stop)
- stat_busy 'Stopping VirtualBox Guest Service'
- [[ -n "$PID" ]] && kill $PID &>/dev/null \
- && { rm_daemon ${0##*/}; stat_done; } \
- || { stat_fail; exit 1; }
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- status)
- stat_busy 'Checking VirtualBox Guest Service status'
- ck_status ${0##*/}
- ;;
- *)
- echo "usage: ${0##*/} {start|stop|restart|status}" >&2
- exit 1
-esac
-
-exit 0
-
-# vim:set ts=2 sw=2 ft=sh et: