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