tools/Makefile

changeset 559
2bcccc6976f9
parent 558
66656231c084
child 612
452f79a5ad71
--- a/tools/Makefile	Thu Aug 02 13:12:50 2018 +0200
+++ b/tools/Makefile	Thu Aug 02 13:19:38 2018 +0200
@@ -21,7 +21,8 @@
 		rm -f ${TARGET} *.o *.h~ *.c~ core filelist Makefile.bak
 
 install:
-		${INSTALL} -c -s -g root -o root -m 0755 thermferm.init /etc/init.d/thermferm
+		${INSTALL} -c -g root -o root -m 0755 thermferm.init /etc/init.d/thermferm
+		[ -x /bin/systemctl ] && /bin/systemctl daemon-reload
 
 filelist:	Makefile
 		BASE=`pwd`; \

mercurial