diff --git a/appendices/scripts.xml b/appendices/scripts.xml index cc89fdc90..7bac2588e 100644 --- a/appendices/scripts.xml +++ b/appendices/scripts.xml @@ -5,16 +5,14 @@ - - - + @@ -26,6 +24,7 @@ + @@ -57,21 +56,11 @@ &rc; - - /etc/rc.d/init.d/functions - &functions; - - /etc/rc.d/init.d/mountvirtfs &mountvirtfs; - - /etc/rc.d/init.d/consolelog - &consolelog; - - /etc/rc.d/init.d/modules &modules; diff --git a/make-aux-files.sh b/make-aux-files.sh index c57352a9d..10cdf327c 100755 --- a/make-aux-files.sh +++ b/make-aux-files.sh @@ -4,11 +4,11 @@ rm -f lfs-bootscripts*.tar.bz2 # Get base file name and move bootscripts directory to that name version=`grep "ENTITY lfs-bootscripts-version" packages.ent |cut -d'"' -f2` -mv bootscripts lfs-bootscripts-$version +mv lsb-bootscripts lfs-bootscripts-$version # Create the tarball and clean up tar -cjf lfs-bootscripts-$version.tar.bz2 --exclude .svn lfs-bootscripts-$version -mv lfs-bootscripts-$version bootscripts +mv lfs-bootscripts-$version lsb-bootscripts rm -f udev-config*.bz2 diff --git a/process-scripts.sh b/process-scripts.sh index 44518c423..184d5d564 100644 --- a/process-scripts.sh +++ b/process-scripts.sh @@ -1,20 +1,20 @@ #!/bin/bash # Boot scripts -for s in bootscripts/lfs/init.d/* \ - bootscripts/lfs/sysconfig/* \ - bootscripts/lfs/sysconfig/network-devices/* \ - bootscripts/lfs/sysconfig/network-devices/services/* +for s in lsb-bootscripts/etc/init.d/* \ + lsb-bootscripts/etc/default/* \ + lsb-bootscripts/sbin/* \ + lsb-bootscripts/lib/network-services/* do script=$(basename $s) # Skip directories - [ $script == 'network-devices' ] && continue - [ $script == 'services' ] && continue + [ $script == 'sbin' ] && continue + [ $script == 'network-services' ] && continue # Disambiguate duplicate file names - [ $s == 'bootscripts/lfs/sysconfig/rc' ] && script='rc-sysinit'; - [ $s == 'bootscripts/lfs/sysconfig/modules' ] && script='modules-sysinit'; + [ $s == 'lsb-bootscripts/etc/default/rc' ] && script='rc-sysinit'; + [ $s == 'lsb-bootscripts/etc/default/modules' ] && script='modules-sysinit'; sed -e 's/\&/\&\;/g' -e 's//\>\;/g' \ -e "s/'/\&apos\;/g" -e 's/"/\"\;/g' -e 's/\t/ /g' \