mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
ed73b57964
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
21 lines
359 B
Bash
21 lines
359 B
Bash
#!/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
|