aboutsummaryrefslogtreecommitdiffstats
path: root/process-scripts.sh
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2011-05-22 22:20:22 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2011-05-22 22:20:22 +0000
commitb8d2a723d7581ec19e3bca64954d4d0cd2f4b1f5 (patch)
tree6322c7056e66abce79c2fcd2e73aa536b6bda679 /process-scripts.sh
parentff8773db8e18678005461e1e17cd3df839bc8fb5 (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.sh16
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/\&/\&amp\;/g' -e 's/</\&lt\;/g' -e 's/>/\&gt\;/g' \
-e "s/'/\&apos\;/g" -e 's/"/\&quot\;/g' -e 's/\t/ /g' \