summaryrefslogtreecommitdiff
path: root/system/atop/atop.init.diff
diff options
context:
space:
mode:
authorMenno E. Duursma <druiloor@zonnet.nl>2010-05-11 20:01:53 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 20:01:53 +0200
commitefd5c4148c23b71a6e8c5ce8ba6b16ae48d15ae3 (patch)
tree51d55b6c96708e71ed96a073f28a67db274f6199 /system/atop/atop.init.diff
parentb0d02a1f054fc4dbc9a57daa91db213e3abe2180 (diff)
downloadslackbuilds-efd5c4148c23b71a6e8c5ce8ba6b16ae48d15ae3.tar.gz
system/atop: Added to 12.0 repository
Diffstat (limited to 'system/atop/atop.init.diff')
-rw-r--r--system/atop/atop.init.diff34
1 files changed, 34 insertions, 0 deletions
diff --git a/system/atop/atop.init.diff b/system/atop/atop.init.diff
new file mode 100644
index 0000000000..4372d2a627
--- /dev/null
+++ b/system/atop/atop.init.diff
@@ -0,0 +1,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
+ ;;
+
+ *)