diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2011-05-22 22:20:22 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2011-05-22 22:20:22 +0000 |
commit | b8d2a723d7581ec19e3bca64954d4d0cd2f4b1f5 (patch) | |
tree | 6322c7056e66abce79c2fcd2e73aa536b6bda679 /process-scripts.sh | |
parent | ff8773db8e18678005461e1e17cd3df839bc8fb5 (diff) |
Fix up issues with bootscript generation.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9546 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'process-scripts.sh')
-rw-r--r-- | process-scripts.sh | 16 |
1 files changed, 8 insertions, 8 deletions
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/>/\>\;/g' \ -e "s/'/\&apos\;/g" -e 's/"/\"\;/g' -e 's/\t/ /g' \ |