after "exec /path/bash --login" run set +h again

Greg Schafer gschafer at zip.com.au
Wed May 14 03:15:17 PDT 2003


On Tue, May 13, 2003 at 12:46:25PM -0600, Gerard Beekmans wrote:
> We have three occurances where we run exec /path/to/bash --login:
> Chapter 06 - Creating /etc/passwd and /etc/group
> Chapter 06 - Installing Glibc
> Chapter 06 - Installing Bash
> 
> I've added the "set +h" command after each exec, since the exec cancels the 
> hash being turned off.

Fairynuff. The set +h is probably not essential. But nice to do when being
thoroughly anal.

> By the way, we can probably get rid of the exec in ch6-glibc. It's there to 
> get rid of the 'i have no name' prompt but we already take care of that after 
> creating the passwd and group files, so I don't see a reason to keep it there 
> now. Or am I missing something?

Not missing anything. Lose it!

Greg
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list