Bobby Pejman wrote:

In script1.sh I have:
su lfs -c ~/script2.sh
su root -c ~/script3.sh

one way to do this is
to cat the chapter 4.4 .bash_profile and .bashrc's to /home/lfs as root
then chown and chmod them to lfs.lfs and 644

add to end of /home/lfs/.bashrc:
exec /path/to/script/script2.sh

change script1.sh to:
su - lfs
exec /path/to/script/script3.sh

It appears it will work.
---
David Jensen



--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to