summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-07-27 13:19:00 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-07-27 13:19:00 +0000
commit4b1de2688c4259152a4741651fb77659edcf401a (patch)
tree211da98a0383cfad70481c91d638861a639126f0
parentc37be1ab2480c43fdaec098f75ec5e25a65ceb59 (diff)
Restore creation of /etc/bluetooth/pin
-rw-r--r--hcid/Makefile.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/hcid/Makefile.am b/hcid/Makefile.am
index 256eba76..ac56726e 100644
--- a/hcid/Makefile.am
+++ b/hcid/Makefile.am
@@ -33,3 +33,13 @@ CLEANFILES = lexer.c parser.c parser.h
EXTRA_DIST = $(man_MANS) $(conf_DATA) dbus.c
MAINTAINERCLEANFILES = Makefile.in
+
+pinfile = $(confdir)/pin
+
+install-data-local:
+ [ -f $(DESTDIR)$(pinfile) ] || \
+ echo "BlueZ" > $(DESTDIR)$(pinfile); \
+ chmod 600 $(DESTDIR)$(pinfile)
+
+uninstall-local:
+ @rm -f $(DESTDIR)$(pinfile)