vanhofen
6 years ago
4 changed files with 3 additions and 40 deletions
@ -1,20 +0,0 @@ |
|||
#!/bin/sh |
|||
|
|||
. /etc/init.d/globals |
|||
|
|||
case $1 in |
|||
start) |
|||
if [ -e /var/etc/.crond ]; then |
|||
crond |
|||
fi |
|||
;; |
|||
stop) |
|||
if [ -e /var/etc/.crond ]; then |
|||
trap "" INT |
|||
kill -INT $(pidof crond) |
|||
fi |
|||
;; |
|||
*) |
|||
echo "[$BASENAME] Usage: $0 {start|stop}" |
|||
;; |
|||
esac |
@ -1,20 +0,0 @@ |
|||
#!/bin/sh |
|||
|
|||
. /etc/init.d/globals |
|||
|
|||
case $1 in |
|||
start) |
|||
if [ -e /var/etc/.crond ]; then |
|||
crond |
|||
fi |
|||
;; |
|||
stop) |
|||
if [ -e /var/etc/.crond ]; then |
|||
trap "" INT |
|||
kill -INT $(pidof crond) |
|||
fi |
|||
;; |
|||
*) |
|||
echo "[$BASENAME] Usage: $0 {start|stop}" |
|||
;; |
|||
esac |
Loading…
Reference in new issue