packages/sound/pulseaudio/files/pulseaudio.init
loswillios c713d8a513 [pulseaudio] add init script
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-03 00:41:26 +00:00

13 lines
261 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/sh /etc/rc.common
# Copyright (C) 2011 OpenWrt.org
START=65
start() {
mkdir -p /tmp/lib/pulse
/usr/bin/pulseaudio daemonize system disallow-exit disallow-module-loading disable-shm exit-idle-time=-1
}
stop() {
killall pulseaudio
}