diff options
Diffstat (limited to 'package/htpdate')
-rw-r--r-- | package/htpdate/files/htpdate.init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/htpdate/files/htpdate.init b/package/htpdate/files/htpdate.init index 0b3f34ad6..f79531f20 100644 --- a/package/htpdate/files/htpdate.init +++ b/package/htpdate/files/htpdate.init @@ -11,10 +11,10 @@ autostart) exec sh $0 start ;; start) - htpdate -l -s -t $htpdate_flags && htpdate -D $htpdate_flags + /usr/sbin/htpdate -l -s -t $htpdate_flags && htpdate -D $htpdate_flags ;; stop) - pkill htpdate + kill $(pgrep -f /usr/sbin/htpdate) ;; restart) sh $0 stop |