Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=jackwip.git;a=commitdiff;h=c5aabfabefb1526b64195ffbfff9c9733fc46854
commit c5aabfabefb1526b64195ffbfff9c9733fc46854 Author: exceed <exceed.ced...@gmail.com> Date: Mon Mar 7 01:26:52 2011 +0100 jack2-1.9.6-1-i686 * Forgot jack2.install diff --git a/source/lib-extra/jack2/jack2.install b/source/lib-extra/jack2/jack2.install new file mode 100644 index 0000000..9304d69 --- /dev/null +++ b/source/lib-extra/jack2/jack2.install @@ -0,0 +1,30 @@ +post_install() { + if ! grep -q 'jackrt' /etc/group; then + #create group + /usr/sbin/groupadd -g 56 jackrt 2>/dev/null + fi + + +echo "==> To be able to access Realtime scheduling you need to be in the jackrt group." +echo " -> You can do it with this command: 'usermod -a -G jackrt LOGIN_NAME'" +echo "==> Please adjust memlock value in /etc/security/limits.d/audio.conf" +} + +post_upgrade() +{ + if ! grep -q 'jackrt' /etc/group; then + #create group + /usr/sbin/groupadd -g 56 jackrt 2>/dev/null + fi + + +echo "==> To be able to access Realtime scheduling you need to be in the jackrt group." +echo " -> You can do it with this command: 'usermod -a -G jackrt LOGIN_NAME'" +echo "==> Please adjust memlock value in /etc/security/limits.d/audio.conf." +} + + +op=$1 +shift +$op $* + _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git