hi, i'm building
linux from scratch, and i have a small question about restarting the shell...
the thing is i'm trying to script my whole LFS build as i go, so as not to have to re-type everything when i want to build it again...
in chapter 6, when we have to restart the shell, we do a:
Code:
exec /tools/bin/bash --login +h
my question is: can this be done from within a script?? cuz if i just stick that command in my script it won't go any further... is there some kinda trick i could use?? how can i restart a shell from within a script and have the script continue where it left??