File: fcron.sh

package info (click to toggle)
fcron 3.0.1-1.3
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 3,028 kB
  • ctags: 642
  • sloc: ansic: 7,978; sh: 1,107; makefile: 352; perl: 57
file content (17 lines) | stat: -rwxr-xr-x 239 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# Start fcron at boot time under FreeBSD

SBIN=@@DESTSBIN@

case "$1" in
  start)
    $SBIN/fcron -b && echo -n " fcron"
    ;;
  stop)
    killall -TERM fcron
    ;;
  *)
    echo "Usage: fcron start|stop"
    exit 1
    ;;
esac