From 84927d374d1171ae85d024941cafcd335c24ab98 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 19 Sep 2006 10:53:17 +0000 Subject: add /etc/modprobe.d/ldetect-lst.conf support --- Makefile.config | 2 ++ ldetect-lst.spec | 1 + lst/Makefile | 3 +++ lst/modprobe.conf | 0 4 files changed, 6 insertions(+) create mode 100644 lst/modprobe.conf diff --git a/Makefile.config b/Makefile.config index 682dbdb7..2675a359 100644 --- a/Makefile.config +++ b/Makefile.config @@ -4,3 +4,5 @@ datadir = $(prefix)/share bindir = $(prefix)/bin sbindir = $(prefix)/sbin dir = $(datadir)/$(project) +sysconfigdir=/etc +modprobe_dir=$(sysconfdir)/modprobe.d diff --git a/ldetect-lst.spec b/ldetect-lst.spec index 80dfd874..29c54359 100644 --- a/ldetect-lst.spec +++ b/ldetect-lst.spec @@ -58,6 +58,7 @@ fi %defattr(-,root,root) %doc AUTHORS ChangeLog %{_datadir}/%{name} +%{_sysconfdir}/modprobe.d/%{name}.conf %{_sbindir}/* %files devel diff --git a/lst/Makefile b/lst/Makefile index 6d2d39e3..d051ae2c 100644 --- a/lst/Makefile +++ b/lst/Makefile @@ -48,3 +48,6 @@ install: $(TMP_TABLES) $(TABLES3) gzip -9 $(dir)/{pcitable,usbtable,dmitable}.d/90default.lst install -m 644 ScannerDB.gz scannerconfigs Cards+ MonitorsDB isdn.db $(dir) + + mkdir -p $(modprobe_dir) + install -m 644 modprobe.conf $(modprobe_dir)/$(project).conf diff --git a/lst/modprobe.conf b/lst/modprobe.conf new file mode 100644 index 00000000..e69de29b -- cgit v1.2.1