diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2004-05-07 17:51:28 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2004-05-07 17:51:28 +0000 |
commit | 63acfaaadfcf85aaba0fb63b9a600d89819cd47b (patch) | |
tree | 22e50491d0f1b6bcb4cd5b33c199378c94a78f01 /scripts/Makefile.am | |
parent | 014f95443e8c29ffd6f28d7f3eac916b16f96b00 (diff) |
Use one init.d script
Diffstat (limited to 'scripts/Makefile.am')
-rw-r--r-- | scripts/Makefile.am | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 8e05086b..6130c842 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -4,10 +4,8 @@ bin_SCRIPTS = bluepin -EXTRA_DIST = bluepin bluetooth.rc.rh bluetooth.rc.deb create_dev +EXTRA_DIST = bluepin bluetooth.init bluetooth.default create_dev install-data-local: - [ ! -f /etc/redhat-release -o ! -f /etc/mandrake-release ] || \ - $(INSTALL) -D -m 755 $(srcdir)/bluetooth.rc.rh $(DESTDIR)$(sysconfdir)/rc.d/init.d/bluetooth - [ ! -f /etc/debian_version ] || \ - $(INSTALL) -D -m 755 $(srcdir)/bluetooth.rc.deb $(DESTDIR)$(sysconfdir)/init.d/bluetooth + $(INSTALL) -D -m 755 $(srcdir)/bluetooth.init $(DESTDIR)$(sysconfdir)/init.d/bluetooth + $(INSTALL) -D -m 644 $(srcdir)/bluetooth.default $(DESTDIR)$(sysconfdir)/default/bluetooth |