aboutsummaryrefslogtreecommitdiff
path: root/system/atop/atop.init.diff
blob: 4372d2a627b5d1dc5964a39ed65db53a42d23d2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- atop-1.20/atop.init.orig	2008-01-08 20:44:34.327288088 -0600
+++ atop-1.20/atop.init	2008-01-08 20:45:25.786220566 -0600
@@ -7,7 +7,7 @@
 #
 
 # Check existance of binaries 
-[ -f /usr/bin/atop ] || exit 0
+[ -f /usr/bin/atop ] || exit 1
 
 PIDFILE=/var/run/atop.pid
 RETVAL=0
@@ -22,7 +22,7 @@
 		:
 	else
 		# Start atop
-		/etc/atop/atop.daily
+		/etc/cron.daily/atop.daily
 	fi
 	;;
 
@@ -43,11 +43,11 @@
 	;;
 
   reload)
-	/etc/atop/atop.daily
+	/etc/cron.daily/atop.daily
 	;;
 
   restart)
-	/etc/atop/atop.daily
+	/etc/cron.daily/atop.daily
 	;;
 
   *)