=== modified file 'Makefile' --- Makefile 2008-09-05 23:39:07 +0000 +++ Makefile 2008-09-06 16:11:50 +0000 @@ -156,10 +156,11 @@ install --directory --mode=u=rwx $(KEYDIR) install --directory --mode=u=rwx \ $(PREFIX)/lib/mandos/plugins.d - if [ "$(CONFDIR)/plugins.d" \ - != "$(PREFIX)/lib/mandos/plugins.d" ]; then \ + if [ "$(CONFDIR)" != "$(PREFIX)/lib/mandos" ]; then \ install --mode=u=rwx \ --directory "$(CONFDIR)/plugins.d"; \ + install --mode=u=rw,go=r etc-plugins.d-README \ + $(CONFDIR)/plugins.d/README ; \ fi install --mode=u=rwx,go=rx \ --target-directory=$(PREFIX)/lib/mandos plugin-runner @@ -221,6 +222,9 @@ $(MANDIR)/man8/mandos-keygen.8.gz \ $(MANDIR)/man8/password-prompt.8mandos.gz \ $(MANDIR)/man8/password-request.8mandos.gz + if [ "$(CONFDIR)" != "$(PREFIX)/lib/mandos" ]; then \ + rm --force $(CONFDIR)/plugins.d/README; \ + fi -rmdir $(PREFIX)/lib/mandos/plugins.d $(CONFDIR)/plugins.d \ $(PREFIX)/lib/mandos $(CONFDIR) $(KEYDIR) update-initramfs -k all -u === added file 'etc-plugins.d-README' --- etc-plugins.d-README 1970-01-01 00:00:00 +0000 +++ etc-plugins.d-README 2008-09-06 16:11:50 +0000 @@ -0,0 +1,5 @@ +Any plugins found here in /etc/mandos/plugins.d will override and add +to the normal Mandos plugins. When adding or changing plugins, do not +forget to update the initital RAM disk image: + +# update-initramfs -k all -u