diff -Naur lfs-commands-4.0/chapter5/Bash-2.05a lfs-commands-4.0.new/chapter5/Bash-2.05a
--- lfs-commands-4.0/chapter5/Bash-2.05a	Tue Oct 15 01:09:18 2002
+++ lfs-commands-4.0.new/chapter5/Bash-2.05a	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,8 @@
+#!/bin/bash
+source ../lfs-commands/commands_settings
+cd $LFS/usr/src/bash*/
+
+
 ln -s libncurses.a /usr/lib/libcurses.a
 
 
diff -Naur lfs-commands-4.0/chapter5/Binutils-2.13 lfs-commands-4.0.new/chapter5/Binutils-2.13
--- lfs-commands-4.0/chapter5/Binutils-2.13	Tue Oct 15 00:17:09 2002
+++ lfs-commands-4.0.new/chapter5/Binutils-2.13	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,8 @@
+#!/bin/bash
+source ../lfs-commands/commands_settings
+cd $LFS/usr/src/binutils*/
+
+
 mkdir ../binutils-build &&
 cd ../binutils-build &&
 ../binutils-2.13/configure --prefix=$LFS/static --disable-nls &&
diff -Naur lfs-commands-4.0/chapter5/Bzip2-1.0.2 lfs-commands-4.0.new/chapter5/Bzip2-1.0.2
--- lfs-commands-4.0/chapter5/Bzip2-1.0.2	Tue Oct 15 00:17:52 2002
+++ lfs-commands-4.0.new/chapter5/Bzip2-1.0.2	Wed Oct 16 20:16:10 2002
@@ -1,2 +1,7 @@
+#!/bin/bash
+source ../lfs-commands/commands_settings
+cd $LFS/usr/src/bzip2*/
+
+
 make CC="gcc -static" &&
 make PREFIX=$LFS/static install
diff -Naur lfs-commands-4.0/chapter5/Diffutils-2.8.1 lfs-commands-4.0.new/chapter5/Diffutils-2.8.1
--- lfs-commands-4.0/chapter5/Diffutils-2.8.1	Tue Oct 15 01:10:52 2002
+++ lfs-commands-4.0.new/chapter5/Diffutils-2.8.1	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,8 @@
+#!/bin/bash
+source ../lfs-commands/commands_settings
+cd $LFS/usr/src/diffutils*/
+
+
 LDFLAGS=-static CPPFLAGS=-Dre_max_failures=re_max_failures2 \
 	./configure --prefix=$LFS/static --disable-nls &&
 make &&
diff -Naur lfs-commands-4.0/chapter5/Fileutils-4.1 lfs-commands-4.0.new/chapter5/Fileutils-4.1
--- lfs-commands-4.0/chapter5/Fileutils-4.1	Tue Oct 15 01:10:55 2002
+++ lfs-commands-4.0.new/chapter5/Fileutils-4.1	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,8 @@
+#!/bin/bash
+source ../lfs-commands/commands_settings
+cd $LFS/usr/src/fileutils*/
+
+
 patch -Np1 -i ../fileutils-4.1.patch
 
 
diff -Naur lfs-commands-4.0/chapter5/Findutils-4.1 lfs-commands-4.0.new/chapter5/Findutils-4.1
--- lfs-commands-4.0/chapter5/Findutils-4.1	Tue Oct 15 01:10:58 2002
+++ lfs-commands-4.0.new/chapter5/Findutils-4.1	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,8 @@
+#!/bin/bash
+source ../lfs-commands/commands_settings
+cd $LFS/usr/src/findutils*/
+
+
 patch -Np1 -i ../findutils-4.1.patch &&
 CPPFLAGS=-Dre_max_failures=re_max_failures2 \
 	./configure --prefix=$LFS/static &&
diff -Naur lfs-commands-4.0/chapter5/GCC-3.2 lfs-commands-4.0.new/chapter5/GCC-3.2
--- lfs-commands-4.0/chapter5/GCC-3.2	Tue Oct 15 01:11:06 2002
+++ lfs-commands-4.0.new/chapter5/GCC-3.2	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,8 @@
+#!/bin/bash
+source ../lfs-commands/commands_settings
+cd $LFS/usr/src/gcc*/
+
+
 patch -Np1 -i ../gcc-3.2.patch &&
 patch -Np1 -i ../gcc-3.2-nofixincludes-2.patch &&
 mkdir ../gcc-build &&
diff -Naur lfs-commands-4.0/chapter5/Gawk-3.1.1 lfs-commands-4.0.new/chapter5/Gawk-3.1.1
--- lfs-commands-4.0/chapter5/Gawk-3.1.1	Tue Oct 15 01:11:01 2002
+++ lfs-commands-4.0.new/chapter5/Gawk-3.1.1	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,8 @@
+#!/bin/bash
+source ../lfs-commands/commands_settings
+cd $LFS/usr/src/gawk*/
+
+
 CPPFLAGS=-Dre_max_failures=re_max_failures2 \
 	./configure --prefix=$LFS/static --disable-nls &&
 make LDFLAGS=-static &&
diff -Naur lfs-commands-4.0/chapter5/Grep-2.5 lfs-commands-4.0.new/chapter5/Grep-2.5
--- lfs-commands-4.0/chapter5/Grep-2.5	Tue Oct 15 01:11:11 2002
+++ lfs-commands-4.0.new/chapter5/Grep-2.5	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,8 @@
+#!/bin/bash
+source ../lfs-commands/commands_settings
+cd $LFS/usr/src/grep*/
+
+
 LDFLAGS=-static CPPFLAGS=-Dre_max_failures=re_max_failures2 \
 	./configure --prefix=$LFS/static --disable-nls \
 	--disable-perl-regexp &&
diff -Naur lfs-commands-4.0/chapter5/Gzip-1.2.4a lfs-commands-4.0.new/chapter5/Gzip-1.2.4a
--- lfs-commands-4.0/chapter5/Gzip-1.2.4a	Tue Oct 15 00:22:07 2002
+++ lfs-commands-4.0.new/chapter5/Gzip-1.2.4a	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,8 @@
+#!/bin/bash
+source ../lfs-commands/commands_settings
+cd $LFS/usr/src/gzip*/
+
+
 ./configure --prefix=$LFS/static &&
 make LDFLAGS=-static &&
 make install
diff -Naur lfs-commands-4.0/chapter5/Make-3.79.1 lfs-commands-4.0.new/chapter5/Make-3.79.1
--- lfs-commands-4.0/chapter5/Make-3.79.1	Tue Oct 15 00:22:32 2002
+++ lfs-commands-4.0.new/chapter5/Make-3.79.1	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,8 @@
+#!/bin/bash
+source ../lfs-commands/commands_settings
+cd $LFS/usr/src/make*/
+
+
 ./configure --prefix=$LFS/static --disable-nls &&
 make LDFLAGS=-static &&
 make install
diff -Naur lfs-commands-4.0/chapter5/Patch-2.5.4 lfs-commands-4.0.new/chapter5/Patch-2.5.4
--- lfs-commands-4.0/chapter5/Patch-2.5.4	Tue Oct 15 01:11:19 2002
+++ lfs-commands-4.0.new/chapter5/Patch-2.5.4	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,8 @@
+#!/bin/bash
+source ../lfs-commands/commands_settings
+cd $LFS/usr/src/patch*/
+
+
 CPPFLAGS=-D_GNU_SOURCE \
 	./configure --prefix=$LFS/static &&
 make LDFLAGS=-static &&
diff -Naur lfs-commands-4.0/chapter5/Sed-3.02 lfs-commands-4.0.new/chapter5/Sed-3.02
--- lfs-commands-4.0/chapter5/Sed-3.02	Tue Oct 15 01:11:22 2002
+++ lfs-commands-4.0.new/chapter5/Sed-3.02	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,8 @@
+#!/bin/bash
+source ../lfs-commands/commands_settings
+cd $LFS/usr/src/sed*/
+
+
 CPPFLAGS=-Dre_max_failures=re_max_failures2 \
 	./configure --prefix=$LFS/static &&
 make LDFLAGS=-static &&
diff -Naur lfs-commands-4.0/chapter5/Sh-utils-2.0 lfs-commands-4.0.new/chapter5/Sh-utils-2.0
--- lfs-commands-4.0/chapter5/Sh-utils-2.0	Tue Oct 15 01:11:25 2002
+++ lfs-commands-4.0.new/chapter5/Sh-utils-2.0	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,8 @@
+#!/bin/bash
+source ../lfs-commands/commands_settings
+cd $LFS/usr/src/sh-utils*/
+
+
 patch -Np1 -i ../sh-utils-2.0.patch
 
 
diff -Naur lfs-commands-4.0/chapter5/Tar-1.13 lfs-commands-4.0.new/chapter5/Tar-1.13
--- lfs-commands-4.0/chapter5/Tar-1.13	Tue Oct 15 00:24:16 2002
+++ lfs-commands-4.0.new/chapter5/Tar-1.13	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,8 @@
+#!/bin/bash
+source ../lfs-commands/commands_settings
+cd $LFS/usr/src/tar*/
+
+
 patch -Np1 -i ../tar-1.13.patch
 
 
diff -Naur lfs-commands-4.0/chapter5/Texinfo-4.2 lfs-commands-4.0.new/chapter5/Texinfo-4.2
--- lfs-commands-4.0/chapter5/Texinfo-4.2	Tue Oct 15 01:11:30 2002
+++ lfs-commands-4.0.new/chapter5/Texinfo-4.2	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,8 @@
+#!/bin/bash
+source ../lfs-commands/commands_settings
+cd $LFS/usr/src/texinfo*/
+
+
 LDFLAGS=-static ./configure --prefix=$LFS/static \
 	--disable-nls &&
 make &&
diff -Naur lfs-commands-4.0/chapter5/Textutils-2.1 lfs-commands-4.0.new/chapter5/Textutils-2.1
--- lfs-commands-4.0/chapter5/Textutils-2.1	Tue Oct 15 01:11:33 2002
+++ lfs-commands-4.0.new/chapter5/Textutils-2.1	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,8 @@
+#!/bin/bash
+source ../lfs-commands/commands_settings
+cd $LFS/usr/src/textutils*/
+
+
 CPPFLAGS=-Dre_max_failures=re_max_failures2 \
 	./configure --prefix=$LFS/static \
 	--disable-nls &&
diff -Naur lfs-commands-4.0/chapter5/Util-linux-2.11u lfs-commands-4.0.new/chapter5/Util-linux-2.11u
--- lfs-commands-4.0/chapter5/Util-linux-2.11u	Tue Oct 15 00:25:41 2002
+++ lfs-commands-4.0.new/chapter5/Util-linux-2.11u	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,8 @@
+#!/bin/bash
+source ../lfs-commands/commands_settings
+cd $LFS/usr/src/util-linux*/
+
+
 ./configure &&
 make -C lib &&
 make -C mount LDFLAGS=-static mount umount &&
diff -Naur lfs-commands-4.0/chapter5/install_all_software lfs-commands-4.0.new/chapter5/install_all_software
--- lfs-commands-4.0/chapter5/install_all_software	Tue Oct 15 00:15:16 2002
+++ lfs-commands-4.0.new/chapter5/install_all_software	Thu Jan  1 01:00:00 1970
@@ -1,16 +0,0 @@
-useradd -s /bin/bash -m lfs &&
-passwd lfs
-
-
-chown -R lfs $LFS/static
-
-
-cat > ~/.bash_profile << "EOF"
-umask 022
-
-LFS=/mnt/lfs
-LC_ALL=POSIX
-CC='gcc -s'
-export LFS LC_ALL CC
-EOF
-source ~/.bash_profile
diff -Naur lfs-commands-4.0/chapter6/Autoconf-2.53 lfs-commands-4.0.new/chapter6/Autoconf-2.53
--- lfs-commands-4.0/chapter6/Autoconf-2.53	Tue Oct 15 00:45:05 2002
+++ lfs-commands-4.0.new/chapter6/Autoconf-2.53	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/autoconf*/
+
+
 ./configure --prefix=/usr &&
 make &&
 make install
diff -Naur lfs-commands-4.0/chapter6/Automake-1.6.3 lfs-commands-4.0.new/chapter6/Automake-1.6.3
--- lfs-commands-4.0/chapter6/Automake-1.6.3	Tue Oct 15 00:45:21 2002
+++ lfs-commands-4.0.new/chapter6/Automake-1.6.3	Wed Oct 16 20:16:10 2002
@@ -1,2 +1,6 @@
+#!/bin/bash
+cd /usr/src/automake*/
+
+
 ./configure --prefix=/usr &&
 make install
diff -Naur lfs-commands-4.0/chapter6/Bash-2.05a lfs-commands-4.0.new/chapter6/Bash-2.05a
--- lfs-commands-4.0/chapter6/Bash-2.05a	Tue Oct 15 00:45:36 2002
+++ lfs-commands-4.0.new/chapter6/Bash-2.05a	Wed Oct 16 20:16:10 2002
@@ -1,4 +1,7 @@
+#!/bin/bash
+cd /usr/src/bash*/
+
+
 ./configure --prefix=/usr --bindir=/bin &&
 make &&
-make install &&
-exec /bin/bash --login
+make install
diff -Naur lfs-commands-4.0/chapter6/Bin86-0.16.3 lfs-commands-4.0.new/chapter6/Bin86-0.16.3
--- lfs-commands-4.0/chapter6/Bin86-0.16.3	Tue Oct 15 00:46:17 2002
+++ lfs-commands-4.0.new/chapter6/Bin86-0.16.3	Wed Oct 16 20:16:10 2002
@@ -1,2 +1,6 @@
+#!/bin/bash
+cd /usr/src/bin86*/
+
+
 make &&
 make PREFIX=/usr install
diff -Naur lfs-commands-4.0/chapter6/Binutils-2.13 lfs-commands-4.0.new/chapter6/Binutils-2.13
--- lfs-commands-4.0/chapter6/Binutils-2.13	Tue Oct 15 00:41:30 2002
+++ lfs-commands-4.0.new/chapter6/Binutils-2.13	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/binutils*/
+
+
 mkdir ../binutils-build &&
 cd ../binutils-build &&
 ../binutils-2.13/configure --prefix=/usr --enable-shared &&
diff -Naur lfs-commands-4.0/chapter6/Bison-1.35 lfs-commands-4.0.new/chapter6/Bison-1.35
--- lfs-commands-4.0/chapter6/Bison-1.35	Tue Oct 15 00:39:18 2002
+++ lfs-commands-4.0.new/chapter6/Bison-1.35	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/bison*/
+
+
 ./configure --prefix=/usr &&
 make &&
 make install
diff -Naur lfs-commands-4.0/chapter6/Bzip2-1.0.2 lfs-commands-4.0.new/chapter6/Bzip2-1.0.2
--- lfs-commands-4.0/chapter6/Bzip2-1.0.2	Tue Oct 15 00:46:36 2002
+++ lfs-commands-4.0.new/chapter6/Bzip2-1.0.2	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/bzip2*/
+
+
 make -f Makefile-libbz2_so &&
 make &&
 make install &&
diff -Naur lfs-commands-4.0/chapter6/Diffutils-2.8.1 lfs-commands-4.0.new/chapter6/Diffutils-2.8.1
--- lfs-commands-4.0/chapter6/Diffutils-2.8.1	Tue Oct 15 01:12:34 2002
+++ lfs-commands-4.0.new/chapter6/Diffutils-2.8.1	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/diffutils*/
+
+
 ./configure --prefix=/usr &&
 make &&
 make install
diff -Naur lfs-commands-4.0/chapter6/E2fsprogs-1.27 lfs-commands-4.0.new/chapter6/E2fsprogs-1.27
--- lfs-commands-4.0/chapter6/E2fsprogs-1.27	Tue Oct 15 01:13:01 2002
+++ lfs-commands-4.0.new/chapter6/E2fsprogs-1.27	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/e2fsprogs*/
+
+
 mkdir ../e2fsprogs-build &&
 cd ../e2fsprogs-build &&
 ../e2fsprogs-1.27/configure --prefix=/usr --with-root-prefix="" \
diff -Naur lfs-commands-4.0/chapter6/Ed-0.2 lfs-commands-4.0.new/chapter6/Ed-0.2
--- lfs-commands-4.0/chapter6/Ed-0.2	Tue Oct 15 00:47:02 2002
+++ lfs-commands-4.0.new/chapter6/Ed-0.2	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/ed*/
+
+
 patch -Np1 -i ../ed-0.2.patch &&
 ./configure --prefix=/usr &&
 make &&
diff -Naur lfs-commands-4.0/chapter6/File-3.39 lfs-commands-4.0.new/chapter6/File-3.39
--- lfs-commands-4.0/chapter6/File-3.39	Tue Oct 15 00:45:48 2002
+++ lfs-commands-4.0.new/chapter6/File-3.39	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/file*/
+
+
 ./configure --prefix=/usr --datadir=/usr/share/misc &&
 make &&
 make install
diff -Naur lfs-commands-4.0/chapter6/Fileutils-4.1 lfs-commands-4.0.new/chapter6/Fileutils-4.1
--- lfs-commands-4.0/chapter6/Fileutils-4.1	Tue Oct 15 00:41:58 2002
+++ lfs-commands-4.0.new/chapter6/Fileutils-4.1	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/fileutils*/
+
+
 ./configure --prefix=/usr --bindir=/bin &&
 make &&
 make install &&
diff -Naur lfs-commands-4.0/chapter6/Findutils-4.1 lfs-commands-4.0.new/chapter6/Findutils-4.1
--- lfs-commands-4.0/chapter6/Findutils-4.1	Tue Oct 15 00:37:33 2002
+++ lfs-commands-4.0.new/chapter6/Findutils-4.1	Wed Oct 16 20:16:10 2002
@@ -1,9 +1,5 @@
-patch -Np1 -i ../findutils-4.1.patch &&
-./configure --prefix=/usr &&
-make libexecdir=/usr/bin &&
-make libexecdir=/usr/bin install
-
-
+#!/bin/bash
+cd /usr/src/findutils*/
 
 
 patch -Np1 -i ../findutils-4.1.patch &&
diff -Naur lfs-commands-4.0/chapter6/Flex-2.5.4a lfs-commands-4.0.new/chapter6/Flex-2.5.4a
--- lfs-commands-4.0/chapter6/Flex-2.5.4a	Tue Oct 15 00:41:14 2002
+++ lfs-commands-4.0.new/chapter6/Flex-2.5.4a	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/flex*/
+
+
 ./configure --prefix=/usr &&
 make &&
 make install
diff -Naur lfs-commands-4.0/chapter6/GCC-3.2 lfs-commands-4.0.new/chapter6/GCC-3.2
--- lfs-commands-4.0/chapter6/GCC-3.2	Tue Oct 15 01:13:26 2002
+++ lfs-commands-4.0.new/chapter6/GCC-3.2	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/gcc*/
+
+
 patch -Np1 -i ../gcc-3.2.patch &&
 mkdir ../gcc-build &&
 cd ../gcc-build &&
diff -Naur lfs-commands-4.0/chapter6/Gawk-3.1.1 lfs-commands-4.0.new/chapter6/Gawk-3.1.1
--- lfs-commands-4.0/chapter6/Gawk-3.1.1	Tue Oct 15 00:37:58 2002
+++ lfs-commands-4.0.new/chapter6/Gawk-3.1.1	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/gawk*/
+
+
 patch -Np1 -i ../gawk-3.1.1-2.patch &&
 ./configure --prefix=/usr --libexecdir=/usr/bin &&
 make &&
diff -Naur lfs-commands-4.0/chapter6/Gettext-0.11.5 lfs-commands-4.0.new/chapter6/Gettext-0.11.5
--- lfs-commands-4.0/chapter6/Gettext-0.11.5	Tue Oct 15 00:42:57 2002
+++ lfs-commands-4.0.new/chapter6/Gettext-0.11.5	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/gettext*/
+
+
 ./configure --prefix=/usr &&
 make &&
 make install
diff -Naur lfs-commands-4.0/chapter6/Glibc-2.2.5 lfs-commands-4.0.new/chapter6/Glibc-2.2.5
--- lfs-commands-4.0/chapter6/Glibc-2.2.5	Tue Oct 15 01:13:32 2002
+++ lfs-commands-4.0.new/chapter6/Glibc-2.2.5	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,8 @@
+#!/bin/bash
+mv /usr/src/linuxthreads*/ /usr/src/glibc*/
+cd /usr/src/glibc*/
+
+
 patch -Np1 -i ../glibc-2.2.5-2.patch &&
 touch /etc/ld.so.conf &&
 mkdir ../glibc-build &&
@@ -7,5 +12,4 @@
 echo "cross-compiling = no" > configparms &&
 make &&
 make install &&
-make localedata/install-locales &&
-exec /static/bin/bash --login
+make localedata/install-locales
diff -Naur lfs-commands-4.0/chapter6/Grep-2.5 lfs-commands-4.0.new/chapter6/Grep-2.5
--- lfs-commands-4.0/chapter6/Grep-2.5	Tue Oct 15 00:48:15 2002
+++ lfs-commands-4.0.new/chapter6/Grep-2.5	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/grep*/
+
+
 ./configure --prefix=/usr --bindir=/bin &&
 make &&
 make install
diff -Naur lfs-commands-4.0/chapter6/Groff-1.18 lfs-commands-4.0.new/chapter6/Groff-1.18
--- lfs-commands-4.0/chapter6/Groff-1.18	Tue Oct 15 00:40:02 2002
+++ lfs-commands-4.0.new/chapter6/Groff-1.18	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/groff*/
+
+
 ./configure --prefix=/usr &&
 make PROCESSEDEXAMPLEFILES="" &&
 make PROCESSEDEXAMPLEFILES="" install &&
diff -Naur lfs-commands-4.0/chapter6/Gzip-1.2.4a lfs-commands-4.0.new/chapter6/Gzip-1.2.4a
--- lfs-commands-4.0/chapter6/Gzip-1.2.4a	Tue Oct 15 00:48:30 2002
+++ lfs-commands-4.0.new/chapter6/Gzip-1.2.4a	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/gzip*/
+
+
 patch -Np1 -i ../gzip-1.2.4b.patch &&
 ./configure --prefix=/usr &&
 cp gzexe.in{,.backup} &&
diff -Naur lfs-commands-4.0/chapter6/Kbd-1.06 lfs-commands-4.0.new/chapter6/Kbd-1.06
--- lfs-commands-4.0/chapter6/Kbd-1.06	Tue Oct 15 00:47:16 2002
+++ lfs-commands-4.0.new/chapter6/Kbd-1.06	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/kbd*/
+
+
 patch -Np1 -i ../kbd-1.06-3.patch &&
 ./configure &&
 make &&
diff -Naur lfs-commands-4.0/chapter6/LFS-Bootscripts-1.10 lfs-commands-4.0.new/chapter6/LFS-Bootscripts-1.10
--- lfs-commands-4.0/chapter6/LFS-Bootscripts-1.10	Tue Oct 15 00:55:33 2002
+++ lfs-commands-4.0.new/chapter6/LFS-Bootscripts-1.10	Wed Oct 16 20:16:10 2002
@@ -1,2 +1,6 @@
+#!/bin/bash
+cd /usr/src/lfs-bootscripts*/
+
+
 cp -a rc.d sysconfig /etc &&
 chown -R root:root /etc/rc.d /etc/sysconfig
diff -Naur lfs-commands-4.0/chapter6/Less-374 lfs-commands-4.0.new/chapter6/Less-374
--- lfs-commands-4.0/chapter6/Less-374	Tue Oct 15 00:39:38 2002
+++ lfs-commands-4.0.new/chapter6/Less-374	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/less*/
+
+
 ./configure --prefix=/usr --bindir=/bin --sysconfdir=/etc &&
 make &&
 make install
diff -Naur lfs-commands-4.0/chapter6/Libtool-1.4.2 lfs-commands-4.0.new/chapter6/Libtool-1.4.2
--- lfs-commands-4.0/chapter6/Libtool-1.4.2	Tue Oct 15 00:46:00 2002
+++ lfs-commands-4.0.new/chapter6/Libtool-1.4.2	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/libtool*/
+
+
 ./configure --prefix=/usr &&
 make &&
 make install
diff -Naur lfs-commands-4.0/chapter6/Lilo-22.2 lfs-commands-4.0.new/chapter6/Lilo-22.2
--- lfs-commands-4.0/chapter6/Lilo-22.2	Tue Oct 15 00:49:19 2002
+++ lfs-commands-4.0.new/chapter6/Lilo-22.2	Wed Oct 16 20:16:10 2002
@@ -1,2 +1,6 @@
+#!/bin/bash
+cd /usr/src/lilo*/
+
+
 make &&
 make install
diff -Naur lfs-commands-4.0/chapter6/Linux-2.4.19 lfs-commands-4.0.new/chapter6/Linux-2.4.19
--- lfs-commands-4.0/chapter6/Linux-2.4.19	Tue Oct 15 00:34:43 2002
+++ lfs-commands-4.0.new/chapter6/Linux-2.4.19	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/linux*/
+
+
 ln -s /static/bin/pwd /bin/pwd &&
 make mrproper &&
 make include/linux/version.h &&
diff -Naur lfs-commands-4.0/chapter6/Linuxthreads-2.2.5 lfs-commands-4.0.new/chapter6/Linuxthreads-2.2.5
--- lfs-commands-4.0/chapter6/Linuxthreads-2.2.5	Tue Oct 15 00:44:23 2002
+++ lfs-commands-4.0.new/chapter6/Linuxthreads-2.2.5	Wed Oct 16 20:16:10 2002
@@ -1,2 +1,6 @@
+#!/bin/bash
+cd /usr/src/linuxthreads*/
+
+
 make -C man &&
 make -C man install
diff -Naur lfs-commands-4.0/chapter6/M4-1.4 lfs-commands-4.0.new/chapter6/M4-1.4
--- lfs-commands-4.0/chapter6/M4-1.4	Tue Oct 15 00:44:36 2002
+++ lfs-commands-4.0.new/chapter6/M4-1.4	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/m4*/
+
+
 ./configure --prefix=/usr &&
 make &&
 make install
diff -Naur lfs-commands-4.0/chapter6/Make-3.79.1 lfs-commands-4.0.new/chapter6/Make-3.79.1
--- lfs-commands-4.0/chapter6/Make-3.79.1	Tue Oct 15 00:49:33 2002
+++ lfs-commands-4.0.new/chapter6/Make-3.79.1	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/make*/
+
+
 ./configure --prefix=/usr &&
 make &&
 make install &&
diff -Naur lfs-commands-4.0/chapter6/Makedev-1.7 lfs-commands-4.0.new/chapter6/Makedev-1.7
--- lfs-commands-4.0/chapter6/Makedev-1.7	Tue Oct 15 00:37:42 2002
+++ lfs-commands-4.0.new/chapter6/Makedev-1.7	Wed Oct 16 20:16:10 2002
@@ -1,11 +1,10 @@
+#!/bin/bash
+cd /usr/src/
+
+
 cp MAKEDEV-1.7 /dev/MAKEDEV &&
 cd /dev &&
 chmod 754 MAKEDEV
-
-
-./MAKEDEV -v generic
-
-
 
 
 ./MAKEDEV -v generic-nopty
diff -Naur lfs-commands-4.0/chapter6/Man-1.5k lfs-commands-4.0.new/chapter6/Man-1.5k
--- lfs-commands-4.0/chapter6/Man-1.5k	Tue Oct 15 01:13:57 2002
+++ lfs-commands-4.0.new/chapter6/Man-1.5k	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/man*/
+
+
 patch -Np1 -i ../man-1.5k.patch &&
 PATH=$PATH:/usr/bin:/bin \
 	./configure -default -confdir=/etc &&
diff -Naur lfs-commands-4.0/chapter6/Man-pages-1.52 lfs-commands-4.0.new/chapter6/Man-pages-1.52
--- lfs-commands-4.0/chapter6/Man-pages-1.52	Tue Oct 15 00:35:07 2002
+++ lfs-commands-4.0.new/chapter6/Man-pages-1.52	Wed Oct 16 20:16:10 2002
@@ -1 +1,5 @@
+#!/bin/bash
+cd /usr/src/man-pages*/
+
+
 make install
diff -Naur lfs-commands-4.0/chapter6/Modutils-2.4.19 lfs-commands-4.0.new/chapter6/Modutils-2.4.19
--- lfs-commands-4.0/chapter6/Modutils-2.4.19	Tue Oct 15 00:49:47 2002
+++ lfs-commands-4.0.new/chapter6/Modutils-2.4.19	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/modutils*/
+
+
 ./configure &&
 make &&
 make install
diff -Naur lfs-commands-4.0/chapter6/Ncurses-5.2 lfs-commands-4.0.new/chapter6/Ncurses-5.2
--- lfs-commands-4.0/chapter6/Ncurses-5.2	Tue Oct 15 00:38:25 2002
+++ lfs-commands-4.0.new/chapter6/Ncurses-5.2	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/ncurses*/
+
+
 patch -Np1 -i ../ncurses-5.2-2.patch &&
 ./configure --prefix=/usr --with-shared &&
 make &&
diff -Naur lfs-commands-4.0/chapter6/Net-tools-1.60 lfs-commands-4.0.new/chapter6/Net-tools-1.60
--- lfs-commands-4.0/chapter6/Net-tools-1.60	Tue Oct 15 00:43:32 2002
+++ lfs-commands-4.0.new/chapter6/Net-tools-1.60	Wed Oct 16 20:16:10 2002
@@ -1,7 +1,5 @@
-make &&
-make update
-
-
+#!/bin/bash
+cd /usr/src/net-tools*/
 
 
 yes "" | make &&
diff -Naur lfs-commands-4.0/chapter6/Netkit-base-0.17 lfs-commands-4.0.new/chapter6/Netkit-base-0.17
--- lfs-commands-4.0/chapter6/Netkit-base-0.17	Tue Oct 15 00:50:11 2002
+++ lfs-commands-4.0.new/chapter6/Netkit-base-0.17	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/netkit-base*/
+
+
 ./configure &&
 make &&
 make install &&
diff -Naur lfs-commands-4.0/chapter6/Patch-2.5.4 lfs-commands-4.0.new/chapter6/Patch-2.5.4
--- lfs-commands-4.0/chapter6/Patch-2.5.4	Tue Oct 15 01:14:11 2002
+++ lfs-commands-4.0.new/chapter6/Patch-2.5.4	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/patch*/
+
+
 CPPFLAGS=-D_GNU_SOURCE \
 	./configure --prefix=/usr &&
 make &&
diff -Naur lfs-commands-4.0/chapter6/Perl-5.8.0 lfs-commands-4.0.new/chapter6/Perl-5.8.0
--- lfs-commands-4.0/chapter6/Perl-5.8.0	Tue Oct 15 00:43:49 2002
+++ lfs-commands-4.0.new/chapter6/Perl-5.8.0	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/perl*/
+
+
 ./configure.gnu --prefix=/usr &&
 make &&
 make install
diff -Naur lfs-commands-4.0/chapter6/Procinfo-18 lfs-commands-4.0.new/chapter6/Procinfo-18
--- lfs-commands-4.0/chapter6/Procinfo-18	Tue Oct 15 00:50:58 2002
+++ lfs-commands-4.0.new/chapter6/Procinfo-18	Wed Oct 16 20:16:10 2002
@@ -1,2 +1,6 @@
+#!/bin/bash
+cd /usr/src/procinfo*/
+
+
 make LDLIBS=-lncurses &&
 make install
diff -Naur lfs-commands-4.0/chapter6/Procps-2.0.7 lfs-commands-4.0.new/chapter6/Procps-2.0.7
--- lfs-commands-4.0/chapter6/Procps-2.0.7	Tue Oct 15 00:51:12 2002
+++ lfs-commands-4.0.new/chapter6/Procps-2.0.7	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/procps*/
+
+
 patch -Np1 -i ../procps-2.0.7.patch &&
 make &&
 make XSCPT="" install &&
diff -Naur lfs-commands-4.0/chapter6/Psmisc-21 lfs-commands-4.0.new/chapter6/Psmisc-21
--- lfs-commands-4.0/chapter6/Psmisc-21	Tue Oct 15 00:52:12 2002
+++ lfs-commands-4.0.new/chapter6/Psmisc-21	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/psmisc*/
+
+
 ./configure --prefix=/usr --exec-prefix=/ &&
 make &&
 make install
@@ -6,8 +10,3 @@
 
 
 rm /usr/share/man/man1/pidof.1
-
-
-
-
-ln -s killall /bin/pidof
diff -Naur lfs-commands-4.0/chapter6/Sed-3.02 lfs-commands-4.0.new/chapter6/Sed-3.02
--- lfs-commands-4.0/chapter6/Sed-3.02	Tue Oct 15 00:40:47 2002
+++ lfs-commands-4.0.new/chapter6/Sed-3.02	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/sed*/
+
+
 ./configure --prefix=/usr --bindir=/bin &&
 make &&
 make install
diff -Naur lfs-commands-4.0/chapter6/Sh-utils-2.0 lfs-commands-4.0.new/chapter6/Sh-utils-2.0
--- lfs-commands-4.0/chapter6/Sh-utils-2.0	Tue Oct 15 00:42:36 2002
+++ lfs-commands-4.0.new/chapter6/Sh-utils-2.0	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/sh-utils*/
+
+
 patch -Np1 -i ../sh-utils-2.0-hostname.patch &&
 ./configure --prefix=/usr &&
 make &&
diff -Naur lfs-commands-4.0/chapter6/Shadow-4.0.3 lfs-commands-4.0.new/chapter6/Shadow-4.0.3
--- lfs-commands-4.0/chapter6/Shadow-4.0.3	Tue Oct 15 01:14:27 2002
+++ lfs-commands-4.0.new/chapter6/Shadow-4.0.3	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/shadow*/
+
+
 ./configure --prefix=/usr \
 	--libdir=/usr/lib --enable-shared &&
 make &&
diff -Naur lfs-commands-4.0/chapter6/Sysklogd-1.4.1 lfs-commands-4.0.new/chapter6/Sysklogd-1.4.1
--- lfs-commands-4.0/chapter6/Sysklogd-1.4.1	Tue Oct 15 00:53:40 2002
+++ lfs-commands-4.0.new/chapter6/Sysklogd-1.4.1	Wed Oct 16 20:16:10 2002
@@ -1,2 +1,6 @@
+#!/bin/bash
+cd /usr/src/sysklogd*/
+
+
 make &&
 make install
diff -Naur lfs-commands-4.0/chapter6/Sysvinit-2.84 lfs-commands-4.0.new/chapter6/Sysvinit-2.84
--- lfs-commands-4.0/chapter6/Sysvinit-2.84	Tue Oct 15 01:14:35 2002
+++ lfs-commands-4.0.new/chapter6/Sysvinit-2.84	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/sysvinit*/
+
+
 cp src/init.c{,.backup} &&
 sed 's/Sending processes/Sending processes started by init/g' \
 	src/init.c.backup > src/init.c
diff -Naur lfs-commands-4.0/chapter6/Tar-1.13 lfs-commands-4.0.new/chapter6/Tar-1.13
--- lfs-commands-4.0/chapter6/Tar-1.13	Tue Oct 15 01:14:38 2002
+++ lfs-commands-4.0.new/chapter6/Tar-1.13	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/tar*/
+
+
 patch -Np1 -i ../tar-1.13.patch
 
 
diff -Naur lfs-commands-4.0/chapter6/Texinfo-4.2 lfs-commands-4.0.new/chapter6/Texinfo-4.2
--- lfs-commands-4.0/chapter6/Texinfo-4.2	Tue Oct 15 00:44:49 2002
+++ lfs-commands-4.0.new/chapter6/Texinfo-4.2	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/texinfo*/
+
+
 ./configure --prefix=/usr &&
 make &&
 make install &&
diff -Naur lfs-commands-4.0/chapter6/Textutils-2.1 lfs-commands-4.0.new/chapter6/Textutils-2.1
--- lfs-commands-4.0/chapter6/Textutils-2.1	Tue Oct 15 00:40:24 2002
+++ lfs-commands-4.0.new/chapter6/Textutils-2.1	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/textutils*/
+
+
 ./configure --prefix=/usr &&
 make &&
 make install &&
diff -Naur lfs-commands-4.0/chapter6/Util-linux-2.11u lfs-commands-4.0.new/chapter6/Util-linux-2.11u
--- lfs-commands-4.0/chapter6/Util-linux-2.11u	Tue Oct 15 01:14:44 2002
+++ lfs-commands-4.0.new/chapter6/Util-linux-2.11u	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/util-linux*/
+
+
 cp hwclock/hwclock.c{,.backup} &&
 sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \
 	hwclock/hwclock.c.backup > hwclock/hwclock.c &&
diff -Naur lfs-commands-4.0/chapter6/Vim-6.1 lfs-commands-4.0.new/chapter6/Vim-6.1
--- lfs-commands-4.0/chapter6/Vim-6.1	Tue Oct 15 00:38:47 2002
+++ lfs-commands-4.0.new/chapter6/Vim-6.1	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/vim*/
+
+
 patch -Np1 -i ../vim-6.1.patch &&
 ./configure --prefix=/usr &&
 make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" &&
diff -Naur lfs-commands-4.0/chapter6/Zlib-1.1.4 lfs-commands-4.0.new/chapter6/Zlib-1.1.4
--- lfs-commands-4.0/chapter6/Zlib-1.1.4	Tue Oct 15 00:36:51 2002
+++ lfs-commands-4.0.new/chapter6/Zlib-1.1.4	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,7 @@
+#!/bin/bash
+cd /usr/src/zlib*/
+
+
 ./configure --prefix=/usr --shared &&
 make LIBS="libz.so.1.1.4 libz.a" &&
 make LIBS="libz.so.1.1.4 libz.a" install &&
diff -Naur lfs-commands-4.0/chapter6/changing_ownership_lfs lfs-commands-4.0.new/chapter6/changing_ownership_lfs
--- lfs-commands-4.0/chapter6/changing_ownership_lfs	Tue Oct 15 00:27:07 2002
+++ lfs-commands-4.0.new/chapter6/changing_ownership_lfs	Wed Oct 16 20:16:10 2002
@@ -1 +1,4 @@
+#!/bin/bash
+
+
 chown -R 0:0 /static
diff -Naur lfs-commands-4.0/chapter6/configuring_dynamic_loader lfs-commands-4.0.new/chapter6/configuring_dynamic_loader
--- lfs-commands-4.0/chapter6/configuring_dynamic_loader	Tue Oct 15 00:57:08 2002
+++ lfs-commands-4.0.new/chapter6/configuring_dynamic_loader	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,6 @@
+#!/bin/bash
+
+
 cat > /etc/ld.so.conf << "EOF"
 # Begin /etc/ld.so.conf
 
diff -Naur lfs-commands-4.0/chapter6/configuring_glibc lfs-commands-4.0.new/chapter6/configuring_glibc
--- lfs-commands-4.0/chapter6/configuring_glibc	Tue Oct 15 00:56:54 2002
+++ lfs-commands-4.0.new/chapter6/configuring_glibc	Wed Oct 16 20:17:58 2002
@@ -1,3 +1,6 @@
+#!/bin/bash
+
+
 cat > /etc/nsswitch.conf << "EOF"
 # Begin /etc/nsswitch.conf
 
@@ -21,12 +24,4 @@
 EOF
 
 
-ln -sf ../usr/share/zoneinfo/<tzselect's output> /etc/localtime
-
-
-ln -sf ../usr/share/zoneinfo/EST5EDT /etc/localtime
-
-
-
-
-ln -sf ../usr/share/zoneinfo/Canada/Eastern /etc/localtime
+ln -sf /usr/share/zoneinfo/Europe/Zurich /etc/localtime
diff -Naur lfs-commands-4.0/chapter6/configuring_keyboard lfs-commands-4.0.new/chapter6/configuring_keyboard
--- lfs-commands-4.0/chapter6/configuring_keyboard	Tue Oct 15 01:12:12 2002
+++ lfs-commands-4.0.new/chapter6/configuring_keyboard	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,6 @@
+#!/bin/bash
+
+
 ln -s <path/to/keymap> /usr/share/kbd/keymaps/defkeymap.map.gz
 
 
diff -Naur lfs-commands-4.0/chapter6/configuring_shadow_password lfs-commands-4.0.new/chapter6/configuring_shadow_password
--- lfs-commands-4.0/chapter6/configuring_shadow_password	Tue Oct 15 00:57:31 2002
+++ lfs-commands-4.0.new/chapter6/configuring_shadow_password	Wed Oct 16 20:16:10 2002
@@ -1 +1,4 @@
+#!/bin/bash
+
+
 /usr/sbin/pwconv
diff -Naur lfs-commands-4.0/chapter6/configuring_sysklogd lfs-commands-4.0.new/chapter6/configuring_sysklogd
--- lfs-commands-4.0/chapter6/configuring_sysklogd	Tue Oct 15 00:57:19 2002
+++ lfs-commands-4.0.new/chapter6/configuring_sysklogd	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,6 @@
+#!/bin/bash
+
+
 cat > /etc/syslog.conf << "EOF"
 # Begin /etc/syslog.conf
 
diff -Naur lfs-commands-4.0/chapter6/configuring_sysvinit lfs-commands-4.0.new/chapter6/configuring_sysvinit
--- lfs-commands-4.0/chapter6/configuring_sysvinit	Tue Oct 15 00:57:50 2002
+++ lfs-commands-4.0.new/chapter6/configuring_sysvinit	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,6 @@
+#!/bin/bash
+
+
 cat > /etc/inittab << "EOF"
 # Begin /etc/inittab
 
diff -Naur lfs-commands-4.0/chapter6/configuring_vim lfs-commands-4.0.new/chapter6/configuring_vim
--- lfs-commands-4.0/chapter6/configuring_vim	Tue Oct 15 00:56:03 2002
+++ lfs-commands-4.0.new/chapter6/configuring_vim	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,6 @@
+#!/bin/bash
+
+
 cat > /root/.vimrc << "EOF"
 " Begin /root/.vimrc
 
diff -Naur lfs-commands-4.0/chapter6/creating_bash_symlink lfs-commands-4.0.new/chapter6/creating_bash_symlink
--- lfs-commands-4.0/chapter6/creating_bash_symlink	Tue Oct 15 00:31:45 2002
+++ lfs-commands-4.0.new/chapter6/creating_bash_symlink	Wed Oct 16 20:16:10 2002
@@ -1,2 +1,5 @@
+#!/bin/bash
+
+
 ln -s /static/bin/bash /bin/bash &&
 ln -s bash /bin/sh
diff -Naur lfs-commands-4.0/chapter6/creating_directories lfs-commands-4.0.new/chapter6/creating_directories
--- lfs-commands-4.0/chapter6/creating_directories	Tue Oct 15 00:28:18 2002
+++ lfs-commands-4.0.new/chapter6/creating_directories	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,6 @@
+#!/bin/bash
+
+
 mkdir -p /{bin,boot,dev/pts,etc/opt,home,lib,mnt,proc} &&
 mkdir -p /{root,sbin,tmp,usr/local,var,opt} &&
 for dirname in /usr /usr/local
diff -Naur lfs-commands-4.0/chapter6/creating_etc_mtab lfs-commands-4.0.new/chapter6/creating_etc_mtab
--- lfs-commands-4.0/chapter6/creating_etc_mtab	Tue Oct 15 00:30:04 2002
+++ lfs-commands-4.0.new/chapter6/creating_etc_mtab	Wed Oct 16 20:16:10 2002
@@ -1 +1,4 @@
+#!/bin/bash
+
+
 ln -sf /proc/mounts /etc/mtab
diff -Naur lfs-commands-4.0/chapter6/creating_passwd_group lfs-commands-4.0.new/chapter6/creating_passwd_group
--- lfs-commands-4.0/chapter6/creating_passwd_group	Tue Oct 15 00:33:37 2002
+++ lfs-commands-4.0.new/chapter6/creating_passwd_group	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,6 @@
+#!/bin/bash
+
+
 echo "root:x:0:0:root:/root:/bin/bash" > /etc/passwd
 
 
diff -Naur lfs-commands-4.0/chapter6/creating_root_password lfs-commands-4.0.new/chapter6/creating_root_password
--- lfs-commands-4.0/chapter6/creating_root_password	Tue Oct 15 01:00:32 2002
+++ lfs-commands-4.0.new/chapter6/creating_root_password	Wed Oct 16 20:16:10 2002
@@ -1 +1,4 @@
-passwd root
+#!/bin/bash
+
+
+passwd -d root
diff -Naur lfs-commands-4.0/chapter6/creating_var_run lfs-commands-4.0.new/chapter6/creating_var_run
--- lfs-commands-4.0/chapter6/creating_var_run	Tue Oct 15 01:00:12 2002
+++ lfs-commands-4.0.new/chapter6/creating_var_run	Wed Oct 16 20:16:10 2002
@@ -1,2 +1,5 @@
+#!/bin/bash
+
+
 touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} &&
 chmod 644 /var/run/utmp /var/log/{btmp,lastlog,wtmp}
diff -Naur lfs-commands-4.0/chapter6/entering_chroot lfs-commands-4.0.new/chapter6/entering_chroot
--- lfs-commands-4.0/chapter6/entering_chroot	Tue Oct 15 01:13:08 2002
+++ lfs-commands-4.0.new/chapter6/entering_chroot	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,6 @@
+#!/bin/bash
+
+
 chroot $LFS /static/bin/env -i \
 	HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
 	PATH=/bin:/usr/bin:/sbin:/usr/sbin:/static/bin \
diff -Naur lfs-commands-4.0/chapter6/mounting_lfs_proc lfs-commands-4.0.new/chapter6/mounting_lfs_proc
--- lfs-commands-4.0/chapter6/mounting_lfs_proc	Tue Oct 15 00:29:49 2002
+++ lfs-commands-4.0.new/chapter6/mounting_lfs_proc	Wed Oct 16 20:16:10 2002
@@ -1 +1,4 @@
+#!/bin/bash
+
+
 mount proc /proc -t proc
diff -Naur lfs-commands-4.0/chapter7/configuring_localnet_script lfs-commands-4.0.new/chapter7/configuring_localnet_script
--- lfs-commands-4.0/chapter7/configuring_localnet_script	Tue Oct 15 01:02:08 2002
+++ lfs-commands-4.0.new/chapter7/configuring_localnet_script	Wed Oct 16 20:16:10 2002
@@ -1 +1,4 @@
+#!/bin/bash
+
+
 echo "HOSTNAME=lfs" > /etc/sysconfig/network
diff -Naur lfs-commands-4.0/chapter7/configuring_setclock_script lfs-commands-4.0.new/chapter7/configuring_setclock_script
--- lfs-commands-4.0/chapter7/configuring_setclock_script	Tue Oct 15 01:01:11 2002
+++ lfs-commands-4.0.new/chapter7/configuring_setclock_script	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,6 @@
+#!/bin/bash
+
+
 cat > /etc/sysconfig/clock << "EOF"
 # Begin /etc/sysconfig/clock
 
diff -Naur lfs-commands-4.0/chapter7/creating_etc_hosts lfs-commands-4.0.new/chapter7/creating_etc_hosts
--- lfs-commands-4.0/chapter7/creating_etc_hosts	Tue Oct 15 01:02:51 2002
+++ lfs-commands-4.0.new/chapter7/creating_etc_hosts	Wed Oct 16 20:16:10 2002
@@ -1,19 +1,11 @@
-cat > /etc/hosts << "EOF"
-# Begin /etc/hosts (no network card version)
-
-127.0.0.1 www.mydomain.com <value of HOSTNAME> localhost
-
-# End /etc/hosts (no network card version)
-EOF
-
-
+#!/bin/bash
 
 
 cat > /etc/hosts << "EOF"
 # Begin /etc/hosts (network card version)
 
 127.0.0.1 localhost.localdomain localhost
-192.168.1.1 www.mydomain.org <value of HOSTNAME>
+192.168.1.1 lfs
 
 # End /etc/hosts (network card version)
 EOF
diff -Naur lfs-commands-4.0/chapter7/creating_network_interface lfs-commands-4.0.new/chapter7/creating_network_interface
--- lfs-commands-4.0/chapter7/creating_network_interface	Tue Oct 15 01:03:30 2002
+++ lfs-commands-4.0.new/chapter7/creating_network_interface	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,6 @@
+#!/bin/bash
+
+
 cat > /etc/sysconfig/network-devices/ifconfig.eth0 << "EOF"
 ONBOOT=yes
 IP=192.168.1.1
diff -Naur lfs-commands-4.0/chapter8/creating_etc_fstab lfs-commands-4.0.new/chapter8/creating_etc_fstab
--- lfs-commands-4.0/chapter8/creating_etc_fstab	Tue Oct 15 01:04:32 2002
+++ lfs-commands-4.0.new/chapter8/creating_etc_fstab	Wed Oct 16 20:16:10 2002
@@ -1,3 +1,6 @@
+#!/bin/bash
+
+
 cat > /etc/fstab << "EOF"
 # Begin /etc/fstab
 
@@ -6,16 +9,8 @@
 /dev/*LFS*     /           *fs-type*  defaults    1       1
 /dev/*swap*    swap        swap       pri=1       0       0
 proc           /proc       proc       defaults    0       0
+devpts         /dev/pts    devpts     gid=4,mode=620 0    0
+usbdevfs       /proc/bus/usb usbdevfs defaults    0       0
 
 # End /etc/fstab
 EOF
-
-
-
-
-devpts         /dev/pts    devpts     gid=4,mode=620 0    0
-
-
-
-
-usbdevfs       /proc/bus/usb usbdevfs defaults    0       0
diff -Naur lfs-commands-4.0/chapter8/linux-2.4.19 lfs-commands-4.0.new/chapter8/linux-2.4.19
--- lfs-commands-4.0/chapter8/linux-2.4.19	Tue Oct 15 01:04:45 2002
+++ lfs-commands-4.0.new/chapter8/linux-2.4.19	Wed Oct 16 20:16:10 2002
@@ -1,5 +1,10 @@
+#!/bin/bash
+cd /usr/src/linux*/
+
+
 make mrproper &&
-make menuconfig &&
+cp /static/tmp/kernel_config .config &&
+make oldconfig &&
 make dep &&
 make bzImage &&
 make modules &&
diff -Naur lfs-commands-4.0/chapter9/the_end lfs-commands-4.0.new/chapter9/the_end
--- lfs-commands-4.0/chapter9/the_end	Tue Oct 15 01:15:25 2002
+++ lfs-commands-4.0.new/chapter9/the_end	Wed Oct 16 20:16:10 2002
@@ -1,5 +1,14 @@
-find $LFS/{,usr/,usr/local/}{bin,sbin,lib} -type f \
+#!/bin/bash
+
+
+rm -rf /static
+
+
+find /{,usr/,usr/local/}{bin,sbin,lib} -type f \
 	-exec /usr/bin/strip --strip-debug '{}' ';'
 
 
-echo 4.0 > $LFS/etc/lfs
+cat > /etc/lfs << "EOF"
+Linux From Scratch, Version 4.0
+       --build with lfs-install
+EOF
diff -Naur lfs-commands-4.0/commands_settings lfs-commands-4.0.new/commands_settings
--- lfs-commands-4.0/commands_settings	Thu Jan  1 01:00:00 1970
+++ lfs-commands-4.0.new/commands_settings	Wed Oct 16 20:16:10 2002
@@ -0,0 +1,5 @@
+umask 022
+
+LFS=/mnt/lfs
+LC_ALL=POSIX
+CC='gcc -s'
