From 21e21e97cd2b663ae96efe62c8f6cc69edbd1d3c Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Sun, 8 Feb 2009 16:23:45 -0500 Subject: load and choose what backend to use; also write a simple null backend The thinking is that if someone wants to turn off PolicyKit, they simply drop a file /etc/polkit-1/nullbackend.conf.d/99-i-hate-polkit.conf with the contents [Configuration] priority=1000 This also provides a good cut-n-paste template / example etc. of how to implement a PolicyKit backend. --- src/polkitbackend/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'src/polkitbackend/Makefile.am') diff --git a/src/polkitbackend/Makefile.am b/src/polkitbackend/Makefile.am index 5f10f9e..a505fa7 100644 --- a/src/polkitbackend/Makefile.am +++ b/src/polkitbackend/Makefile.am @@ -84,3 +84,4 @@ clean-local : install-exec-hook: mkdir -p $(DESTDIR)$(localstatedir)/lib/polkit-1 -chmod 600 $(DESTDIR)$(localstatedir)/lib/polkit-1 + mkdir -p $(DESTDIR)$(libdir)/polkit-1/backends -- cgit v1.2.3