aports/testing/vlc/vlc.initd
Timo Teräs eb8f81e802 testing/vlc: copied form main and upgraded to 2.0.0-rc1
* qt4 and skins2 gui interfaces are also enabled (to subpkg vlc-xorg)
2012-01-28 18:53:32 +02:00

23 lines
282 B
Plaintext
Executable File

#!/sbin/runscript
depend() {
need net
}
start() {
ebegin "Starting VLC"
start-stop-daemon --start \
--user vlc \
--exec /usr/bin/vlc -- ${VLC_OPTS}
eend $?
}
stop () {
ebegin "Stopping VLC"
start-stop-daemon --stop \
--signal KILL \
--exec /usr/bin/vlc
eend $?
}