mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +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
|