diff options
author | Krejzi <krejzi@linuxfromscratch.org> | 2013-05-18 11:52:02 +0000 |
---|---|---|
committer | Krejzi <krejzi@linuxfromscratch.org> | 2013-05-18 11:52:02 +0000 |
commit | 01479e657a235f8fe35fd32598717fe926f08b5a (patch) | |
tree | d295857826edb02807db46bc32679c176cd09a19 /process-scripts.sh | |
parent | c46ee65dc77aa6a458dd01b4b7391e8d113127c0 (diff) |
Import new bootscripts package.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10278 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'process-scripts.sh')
-rw-r--r-- | process-scripts.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/process-scripts.sh b/process-scripts.sh new file mode 100644 index 000000000..046e19814 --- /dev/null +++ b/process-scripts.sh @@ -0,0 +1,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 |