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