mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
22 lines
359 B
Text
22 lines
359 B
Text
|
#!/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
|