summaryrefslogtreecommitdiffstats
path: root/system/prelink/prelink.cron
diff options
context:
space:
mode:
author Ozan Türkyılmaz <ozan.turkyilmaz@gmail.com>2010-10-18 22:34:15 -0500
committer Erik Hanson <erik@slackbuilds.org>2010-10-20 10:50:23 -0500
commitc6fd0d7eea61f9b26d0020a47b628b17f3f0fcfd (patch)
tree420a47e519ff6236f0c9e22011be21ab6af14353 /system/prelink/prelink.cron
parentb760f054f3006aa6393ab8e7497c0c0767f56f5a (diff)
downloadslackbuilds-c6fd0d7eea61f9b26d0020a47b628b17f3f0fcfd.tar.gz
slackbuilds-c6fd0d7eea61f9b26d0020a47b628b17f3f0fcfd.tar.xz
system/prelink: Added (ELF prelinking utility)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/prelink/prelink.cron')
-rw-r--r--system/prelink/prelink.cron10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/prelink/prelink.cron b/system/prelink/prelink.cron
new file mode 100644
index 0000000000..5a5f15739b
--- /dev/null
+++ b/system/prelink/prelink.cron
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+renice +19 -p $$ > /dev/null 2>&1
+
+#By default, we'll do quick cron runs of prelink
+PRELINK_OPTS="-amRq"
+#If you don't want to do this, then use this opts.
+#PRELINK_OPT="-amR"
+
+/usr/sbin/prelink $PRELINK_OPTS