#!/bin/bash
# Symlinked into /var/lib/webosbrew/init.d/ by the app's "Start on boot"
# toggle. The Homebrew Channel runs everything in that directory at boot.
#
# Calling any method on the service is enough to launch it; the service then
# reads its own autoStart setting and starts capturing if it is enabled. Run in
# the background so a slow bus does not hold up the rest of the boot scripts.
luna-send -n 1 -f luna://org.webosbrew.audiocap.service/isRunning '{}' &
exit 0
