summaryrefslogtreecommitdiff
path: root/audio/darkice/setcap.sh
diff options
context:
space:
mode:
authorMarcel Saegebarth <marc@mos6581.de>2014-10-13 06:17:23 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-13 06:17:23 +0700
commit46a410d0f6d63b6e29d27965c5cf7248f7b068a4 (patch)
tree250eb87ee7d7226359c5d3836c13bf0b51d76cc5 /audio/darkice/setcap.sh
parentcd586e983ec05e5770519ccc640d26adb9bb2c72 (diff)
downloadslackbuilds-46a410d0f6d63b6e29d27965c5cf7248f7b068a4.tar.gz
audio/darkice: Added optional realtime capabilities.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/darkice/setcap.sh')
-rw-r--r--audio/darkice/setcap.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/darkice/setcap.sh b/audio/darkice/setcap.sh
new file mode 100644
index 0000000000..23dacce220
--- /dev/null
+++ b/audio/darkice/setcap.sh
@@ -0,0 +1 @@
+[ -x /sbin/setcap ] && /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/darkice