summaryrefslogtreecommitdiff
path: root/package/brutefir/files/brutefir.postinst
diff options
context:
space:
mode:
authorOliver Schib <lich000king@yahoo.de>2016-07-05 20:52:25 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-07-06 07:58:26 +0200
commitb5f9c8b5c54e58b7425ddf5f2c2c9623bd13beed (patch)
tree1525ae7c837b5d2fb7d6b1adb68d94ba6a38ec97 /package/brutefir/files/brutefir.postinst
parent6b90348582447ca53e014eb162c687751f7cb4fe (diff)
Add init scripts for jack and brutefir
These scripts will start jack and brutefir in this order and are also compatible with subsequent startup of mpd. Brutefir will create a sample config file ~/.brutefir_defaults when run without arguments. Signed-off-by: Oliver Schib <lich000king@yahoo.de>
Diffstat (limited to 'package/brutefir/files/brutefir.postinst')
-rw-r--r--package/brutefir/files/brutefir.postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/brutefir/files/brutefir.postinst b/package/brutefir/files/brutefir.postinst
new file mode 100644
index 000000000..d78a782ef
--- /dev/null
+++ b/package/brutefir/files/brutefir.postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+add_rcconf brutefir NO
+add_rcconf brutefir_flags '-nodefault -daemon /data/brutefir/config/brutefir.conf'