summaryrefslogtreecommitdiff
path: root/system/fcron/rc.fcron
blob: 5c826afa44dbabd2384bc61a37f69063dc7bc031 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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