mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-08 16:11:26 +00:00
Recent versions of module-init-tools only want *.conf files under
/etc/modprobe.d. So rename our configuration file to lm_sensors.conf there. Also let "make install" rename the file if it already exists. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5760 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
4d3ee85bae
commit
1bb3175a5f
3 files changed
+9
-4
No files matched your search
@@ -28,6 +28,10 @@ install-etc:
|
||||
fi
|
||||
$(MKDIR) $(DESTDIR)$(BINDIR)
|
||||
$(INSTALL) -m 755 $(ETC_DIR)/sensors-conf-convert $(DESTDIR)$(BINDIR)
|
||||
if [ -e $(DESTDIR)$(ETCDIR)/modprobe.d/lm_sensors \
|
||||
-a ! -e $(DESTDIR)$(ETCDIR)/modprobe.d/lm_sensors.conf ] ; then \
|
||||
$(MV) $(DESTDIR)$(ETCDIR)/modprobe.d/lm_sensors $(DESTDIR)$(ETCDIR)/modprobe.d/lm_sensors.conf ; \
|
||||
fi
|
||||
|
||||
user_install :: install-etc
|
||||
|
||||
|
||||
Reference in new issue
Block a user