#!/bin/sh # Bad ass temp script to simply generate file "local" containing *all* # other files in it (until a proper cfengine script is written for dir in ignore.d.server ignore.d.workstation violations.ignore.d cracking.ignore.d; do echo regenerating $dir rm -f $dir/local # # Include server lines in workstation as well # if [ "$dir" == "ignore.d.workstation" ]; then # for file in ignore.d.server/*; do # if [ -f $file -a `basename $file` != "local" ]; then # echo "### $file" >> $dir/local # cat $file >> $dir/local # fi # done # fi for file in $dir/*; do if [ -f $file -a `basename $file` != "local" ]; then # echo "### $file" >> $dir/local # cat $file >> $dir/local cat $file | grep -v '^#' >> $dir/local fi done done
summaryrefslogtreecommitdiff
path: root/tags/5e/9d/29e62b8cda0ef12b456154c8e6029360@3e723b591bdb95ce8f5c9b7032dc572ca97351d0da5e...
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
committerJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
commitfd54908da2b05c526dd3bee9b6dcd093214a220d (patch)
treec69c845069c99d1d01044f6fafda7c08433329c6 /tags/5e/9d/29e62b8cda0ef12b456154c8e6029360@3e723b591bdb95ce8f5c9b7032dc572ca97351d0da5efc73459c1fbaf438e43b
parentba46132213560cf3335d53560d519c0ec0190da2 (diff)
Diffstat (limited to 'tags/5e/9d/29e62b8cda0ef12b456154c8e6029360@3e723b591bdb95ce8f5c9b7032dc572ca97351d0da5efc73459c1fbaf438e43b')
-rw-r--r--tags/5e/9d/29e62b8cda0ef12b456154c8e6029360@3e723b591bdb95ce8f5c9b7032dc572ca97351d0da5efc73459c1fbaf438e43b/unread0
1 files changed, 0 insertions, 0 deletions