mediad
Tobias Grimm
tobias.grimm at e-tobi.net
Mon Apr 2 19:32:19 UTC 2007
Thomas Schmidt wrote:
> We could write a script which will be placed in the vdr-package which
> can be used to "register" and "unregister" group requirements of
> certain plugins.
> What do you think about this idea?
>
So you mean something like this:
/etc/vdr/groups:
plugdev: vdr-plugin-mediad
audio: vdr-plugin-bitstreamout
plugdev: vdr-plugin-somethingelse
Each plugin requiring vdr to be the member of a specific group, adds the
group name to /var/lib/vdr/groups in postinst.
postrm removes this entry again and if no other entry for this group is
left, removes the user vdr from that group.
But if someone added vdr manually to a specific group (e.g. in order to
run a custom script from within VDR), this group assignment should never
be removed automatically. So the user not just has to add vdr to the
group, but must also add an entry to /etc/vdr/groups.
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 544 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vdr-dvb-devel/attachments/20070402/e65392d6/signature.pgp
More information about the pkg-vdr-dvb-devel
mailing list