View Single Post
Old 11-02-2006, 04:04 PM   #4
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
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
scotty1024 is offline   Reply With Quote