blob: 046e1981474a08bad9f55ecf3aca8822a25225cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/bash
# Boot scripts
for s in systemd-units/lfs/lib/services/* \
systemd-units/lfs/sbin/* \
systemd-units/lfs/tmpfiles/* \
systemd-units/lfs/units/*
do
script=$(basename $s)
# Skip directories
[ $script == 'network-devices' ] && continue
sed -e 's/\&/\&\;/g' -e 's/</\<\;/g' -e 's/>/\>\;/g' \
-e "s/'/\&apos\;/g" -e 's/"/\"\;/g' -e 's/\t/ /g' \
$s > appendices/${script}.script
done
|