multilib-10.1
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | # Boot scripts
|
---|
4 | for s in bootscripts/lfs/init.d/* \
|
---|
5 | bootscripts/lfs/sysconfig/* \
|
---|
6 | bootscripts/lfs/lib/services/* \
|
---|
7 | bootscripts/lfs/sbin/* \
|
---|
8 | udev-lfs/*.rules
|
---|
9 | do
|
---|
10 | script=$(basename $s)
|
---|
11 |
|
---|
12 | # Skip directories
|
---|
13 | [ $script == 'network-devices' ] && continue
|
---|
14 | #[ $script == 'services' ] && continue
|
---|
15 |
|
---|
16 | # Disambiguate duplicate file names
|
---|
17 | [ $s == 'bootscripts/lfs/sysconfig/rc' ] && script='rc-sysinit';
|
---|
18 | [ $s == 'bootscripts/lfs/sysconfig/modules' ] && script='modules-sysinit';
|
---|
19 | [ $s == 'bootscripts/lfs/sysconfig/udev_retry' ] && script='config-udev-retry';
|
---|
20 |
|
---|
21 | sed -e 's/\&/\&\;/g' -e 's/</\<\;/g' -e 's/>/\>\;/g' \
|
---|
22 | -e "s/'/\&apos\;/g" -e 's/"/\"\;/g' -e 's/\t/ /g' \
|
---|
23 | $s > appendices/${script}.script
|
---|
24 | done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.