9d9f1e7836535cc8227d526509271975 anacron-2.1.tar.bz2
authorundefine <undefine@pld-linux.org>
Fri, 19 May 2000 08:51:46 +0000 (08:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
d7c4c803a47af0c195a08bdf27daaa19  anacron.init
3e5bb9f9e8616bd8a5a4d7247f4d858e  anacrontab

Changed files:
    anacron.init -> 1.1
    anacrontab -> 1.1

anacron.init [new file with mode: 0644]
anacrontab [new file with mode: 0644]

diff --git a/anacron.init b/anacron.init
new file mode 100644 (file)
index 0000000..e780e23
--- /dev/null
@@ -0,0 +1,40 @@
+#!/bin/sh
+# Startup script for anacron
+#
+# chkconfig: 2345 05 92
+# description: Anacron a periodic command scheduler.
+
+# Source function library.
+. /etc/rc.d/init.d/functions
+
+[ -f /usr/sbin/anacron ] || exit 0
+
+case "$1" in
+  start)
+               show  "Starting anacron: " 
+               daemon anacron
+               echo
+               ;;
+       
+  stop)
+               show "Shutting down anacron "
+               killproc anacron 
+               echo
+               ;;
+       
+       status)
+               status anacron
+               ;;
+
+       restart)
+               $0 stop
+               $0 start
+               ;;
+       
+  *)
+               echo "Usage: anacron {start|stop|restart|status}"
+               exit 1
+
+esac
+
+exit 0
diff --git a/anacrontab b/anacrontab
new file mode 100644 (file)
index 0000000..a6672ef
--- /dev/null
@@ -0,0 +1,11 @@
+# /etc/anacrontab: configuration file for anacron
+
+# See anacron(8) and anacrontab(5) for details.
+
+SHELL=/bin/sh
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+
+# These entries are useful for a Red Hat Linux system.
+1      5       cron.daily              run-parts /etc/cron.daily
+7      10      cron.weekly             run-parts /etc/cron.weekly
+30     15      cron.monthly    run-parts /etc/cron.monthly
This page took 0.032741 seconds and 4 git commands to generate.