slackbuilds_ponce/system/prelink/prelink-all
Ozan Türkyılmaz f9e5f10b32 system/prelink: Miscellaneous build fixes.
Added two helper scripts and a warning in the README.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
2011-01-02 00:27:36 -06:00

11 lines
293 B
Bash

#!/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