mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
f9e5f10b32
Added two helper scripts and a warning in the README. Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
11 lines
293 B
Bash
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
|