mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-30 13:00:30 +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/branches/lm-sensors-2.10@5762 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
368688fc55
commit
add5b75f35
4 files changed
+10
-4
No files matched your search
@@ -31,6 +31,10 @@ install-etc:
|
||||
if [ ! -e $(DESTDIR)$(ETCINSTALL) ] ; then \
|
||||
$(INSTALL) -m 644 $(ETCTARGET) $(DESTDIR)$(ETCINSTALL); \
|
||||
fi
|
||||
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
|
||||
|
||||
# No clean rule
|
||||
Reference in new issue
Block a user