iRex can polish the boot time with a few trivial changes.
in /home/root/start.sh:
Change "/usr/bin/do_updates.sh" to ". /usr/bin/do_updates.sh".
This removes the expense of launching another shell to run the do_updates.sh. (of course if you're running hacker mode, you've already commented it out
)
iRex could also do a few things to speed up do_updates.sh.
Existing:
Code:
# Convert the sysset area (if needed)
sysset_layout=`sysset -r -b -a 0 -l 1 | cut -c '3-'`
if [ "$sysset_layout" = "01" ]
then
sysset_convert_01_02.sh
fi
sysset_layout=`sysset -r -b -a 0 -l 1 | cut -c '3-'`
if [ "$sysset_layout" = "02" ]
then
sysset_convert_02_03.sh
fi
Faster, removes launching 3 processes.
Code:
# Convert the sysset area (if needed)
sysset_layout=`sysset -r -b -a 0 -l 1`
if [ "$sysset_layout" = "0x01" ]
then
sysset_convert_01_02.sh
fi
if [ "$sysset_layout" = "0x02" ]
then
sysset_convert_02_03.sh
fi