mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
12 lines
293 B
Text
12 lines
293 B
Text
|
#!/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
|