xry111/loongarch
xry111/loongarch-12.0
xry111/loongarch-12.1
Last change
on this file since 2485dc3 was 3781c69, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago |
Remove eol spaces
|
-
Property mode
set to
100644
|
File size:
822 bytes
|
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.