diff options
Diffstat (limited to 'system/fcron/rc.fcron')
-rw-r--r-- | system/fcron/rc.fcron | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/system/fcron/rc.fcron b/system/fcron/rc.fcron new file mode 100644 index 0000000000..5c826afa44 --- /dev/null +++ b/system/fcron/rc.fcron @@ -0,0 +1,21 @@ +#!/bin/sh +# Start fcron at boot time under Slackware +# +# default configuration file is /etc/fcron.conf +# +#2014-08-04 R Narron Create for SlackBuild + +case "$1" in + start) + echo "Starting fcron" + /usr/sbin/fcron -b + ;; + stop) + echo "Stopping fcron" + killall -TERM fcron + ;; + *) + echo "Usage: fcron start|stop" + exit 1 + ;; +esac |