Update build.sh
This commit is contained in:
parent
3e78c7743c
commit
d16b68e2e5
4
build.sh
4
build.sh
@ -5,8 +5,8 @@
|
||||
# Remove existing configuration
|
||||
rm -rf /etc/tinc/*
|
||||
# Copy all non-template files to /etc/(tinc)
|
||||
find tinc -type d | xargs -I '{}' mkdir -p /etc/{}
|
||||
find tinc -type f ! -name '*.tmpl' | xargs -I '{}' cp {} /etc/{}
|
||||
find tinc -type d | xargs -I '{}' mkdir -v -p /etc/{}
|
||||
find tinc -type f ! -name '*.tmpl' | xargs -I '{}' cp -v {} /etc/{}
|
||||
# Mutate templates to /etc/(tinc) as well
|
||||
#TODO
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user