r00t^2
079ff52d6c
trying to fix niceness... trying to fix speed optimizations... we should probably remove .pacnew files in the ISO. every little byte helps :/
21 lines
423 B
Bash
21 lines
423 B
Bash
function holla_atcha_boi {
|
|
|
|
if [[ "${I_AM_A_RACECAR}" == "y" ]];
|
|
then
|
|
RACECAR_CHK='nice -n -19 '
|
|
else
|
|
RACECAR_CHK=""
|
|
fi
|
|
|
|
|
|
# Do we have an existing chroot set up yet? If not, create.
|
|
if [[ ! -d "root.x86_64/root" || ! -d "root.i686/root" ]];
|
|
then
|
|
echo "No existing chroot environment found. Creating..."
|
|
rm -f ${LOCKFILE}
|
|
${RACECAR_CHK} ${BASEDIR}/lib/mk.chroot.sh
|
|
touch ${LOCKFILE}
|
|
fi
|
|
}
|
|
|