diff options
author | Ozan Türkyılmaz <ozan.turkyilmaz@gmail.com> | 2011-01-01 12:05:52 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-01-02 00:27:36 -0600 |
commit | f9e5f10b3219cbe7cf9a2dbce9ae0194b2e9facf (patch) | |
tree | 9da2c28330e8a8fdc7b15a80cce5abfbcf44f3e3 /system/prelink/prelink-all | |
parent | bee81b221f3034142a27f0678bf83fe5b6491bfa (diff) | |
download | slackbuilds-f9e5f10b3219cbe7cf9a2dbce9ae0194b2e9facf.tar.gz |
system/prelink: Miscellaneous build fixes.
Added two helper scripts and a warning in the README.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/prelink/prelink-all')
-rw-r--r-- | system/prelink/prelink-all | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/system/prelink/prelink-all b/system/prelink/prelink-all new file mode 100644 index 0000000000..f75be7d5f8 --- /dev/null +++ b/system/prelink/prelink-all @@ -0,0 +1,11 @@ +#!/bin/sh +# +# This small script can be used for prelinking whole system while in root +# account. It will do a -amR on the system according to /etc/prelink.conf +# Check prelink(8) for details. + +renice +19 -p $$ > /dev/null 2>&1 + +PRELINKOPTS=${PRELINKOPTS:-amR} + +/usr/sbin/prelink -$PRELINKOPTS |