Package: pulseaudio Version: 0.9.14-2 Severity: wishlist Tags: patch
Here is a patch to support the "status" action in the init.d script. I had to also move the code to disable the system start so that only the start action is disabled, not status or anything else. I think that should still do the job.
diff -u pulseaudio-0.9.15/debian/pulseaudio.init pulseaudio-0.9.15/debian/pulseaudio.init --- pulseaudio-0.9.15/debian/pulseaudio.init +++ pulseaudio-0.9.15/debian/pulseaudio.init @@ -23,9 +23,9 @@ PULSEAUDIO_SYSTEM_START=0 DISALLOW_MODULE_LOADING=1 test -f /etc/default/pulseaudio && . /etc/default/pulseaudio -test "$PULSEAUDIO_SYSTEM_START" != "1" && exit 0 pulseaudio_start () { + test "$PULSEAUDIO_SYSTEM_START" != "1" && exit 0 log_begin_msg "Starting PulseAudio Daemon" start-stop-daemon -x $DAEMON -p $PIDFILE --start -- --system --daemonize --high-priority --log-target=syslog --disallow-module-loading=$DISALLOW_MODULE_LOADING status=$? @@ -60,8 +60,12 @@ sleep 2 killall -9 pulseaudio || true ;; + status) + status_of_proc $DAEMON pulseaudio -p $PIDFILE + exit $? + ;; *) - echo "Usage: /etc/init.d/pulseaudio {start|stop|force-stop|restart|reload|force-reload}" + echo "Usage: /etc/init.d/pulseaudio {start|stop|force-stop|restart|reload|force-reload|status}" exit 1 ;; esac diff -u pulseaudio-0.9.15/debian/control pulseaudio-0.9.15/debian/control --- pulseaudio-0.9.15/debian/control +++ pulseaudio-0.9.15/debian/control @@ -22,7 +22,7 @@ Package: pulseaudio Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, - lsb-base (>= 3), consolekit + lsb-base (>= 3.2-13), consolekit Conflicts: libltdl3 (<< 1.5.24-1) Recommends: pulseaudio-module-hal, pulseaudio-module-x11, libasound2-plugins, gstreamer0.10-pulseaudio,