Update init script and installation

Thu, 02 Aug 2018 13:12:50 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 02 Aug 2018 13:12:50 +0200
changeset 558
66656231c084
parent 557
ae17042a6d39
child 559
2bcccc6976f9

Update init script and installation

tools/Makefile file | annotate | diff | comparison | revisions
tools/thermferm.init file | annotate | diff | comparison | revisions
--- a/tools/Makefile	Thu Aug 02 12:20:06 2018 +0200
+++ b/tools/Makefile	Thu Aug 02 13:12:50 2018 +0200
@@ -21,7 +21,7 @@
 		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 -s -g root -o root -m 0755 thermferm.init /etc/init.d/thermferm
 
 filelist:	Makefile
 		BASE=`pwd`; \
--- a/tools/thermferm.init	Thu Aug 02 12:20:06 2018 +0200
+++ b/tools/thermferm.init	Thu Aug 02 13:12:50 2018 +0200
@@ -1,10 +1,8 @@
 #! /bin/sh
 ### BEGIN INIT INFO
 # Provides:          thermferm
-# Required-Start:    $remote_fs $syslog
-# Required-Stop:     $remote_fs $syslog
-# Should-Start:      mosquitto
-# Should-Stop:       mosquitto
+# Required-Start:    $local_fs $remote_fs $network $syslog
+# Required-Stop:     $local_fs $remote_fs $network $syslog
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Thermferm beer fermenter initscript

mercurial