--- lcdproc-0.5.2/scripts/init-LCDd.rpm.in.initscripts 2007-05-20 14:17:36.000000000 +0200 +++ lcdproc-0.5.2/scripts/init-LCDd.rpm.in 2007-05-20 14:22:24.000000000 +0200 @@ -19,7 +19,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 # # -# chkconfig: 345 70 21 +# chkconfig: - 70 21 # description: LCDd(8) is the LCDproc server used for displaying text and other data to LCDs. \ # Apart from the main client lcdproc(1) there are various clients. \ # See http://lcdproc.omnipotent.net for details. @@ -73,6 +73,12 @@ RETVAL=$? } +reload() { + stop + start + RETVAL=$? +} + restart() { stop start @@ -94,6 +100,9 @@ status) dostatus ;; + reload) + restart + ;; restart) restart ;; @@ -101,7 +110,7 @@ condrestart ;; *) - echo "Usage: $0 {start|stop|status|restart|condrestart}" + echo "Usage: $0 {start|stop|status|reload|restart|condrestart}" exit 1 esac --- lcdproc-0.5.2/scripts/init-lcdproc.rpm.in.initscripts 2007-05-20 14:17:02.000000000 +0200 +++ lcdproc-0.5.2/scripts/init-lcdproc.rpm.in 2007-05-20 14:21:13.000000000 +0200 @@ -19,7 +19,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 # # -# chkconfig: 345 71 20 +# chkconfig: - 71 20 # description: LCDd(8) is the LCDproc server used for displaying text and other data to LCDs. \ # Apart from the main client lcdproc(1) there are various clients. \ # See http://lcdproc.omnipotent.net for details. @@ -73,6 +73,12 @@ RETVAL=$? } +reload() { + stop + start + RETVAL=$? +} + restart() { stop start @@ -94,6 +100,9 @@ status) dostatus ;; + reload) + restart + ;; restart) restart ;; @@ -101,7 +110,7 @@ condrestart ;; *) - echo "Usage: $0 {start|stop|status|restart|condrestart}" + echo "Usage: $0 {start|stop|status|reload|restart|condrestart}" exit 1 esac