diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2008-06-04 17:15:04 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2008-06-04 17:15:04 +0000 |
commit | 12bc33686f0d81787737dececb6104f1178ff871 (patch) | |
tree | 4e18272dc9a7eb7661c2b3d5b300891d60227b66 /process-scripts.sh | |
parent | 1c4800743d22d675ccfa48364d8aa558e8b7407c (diff) |
Add udev rules as an appendix
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8549 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'process-scripts.sh')
-rw-r--r-- | process-scripts.sh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/process-scripts.sh b/process-scripts.sh index 30fdd7e00..675b7f4f9 100644 --- a/process-scripts.sh +++ b/process-scripts.sh @@ -1,11 +1,12 @@ #!/bin/sh +# Boot scripts for s in bootscripts/lfs/init.d/* \ bootscripts/lfs/sysconfig/* \ bootscripts/lfs/sysconfig/network-devices/* \ bootscripts/lfs/sysconfig/network-devices/services/* do - script=`basename $s` + script=$(basename $s) # Skip directories [ $script == 'network-devices' ] && continue @@ -20,3 +21,12 @@ do $s > appendices/${script}.script done +# Udev rules +for s in udev-config/*.rules +do + script=$(basename $s) + + 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 |