Update tinc/lixonet/tinc-up.tmpl, build.sh files
This commit is contained in:
parent
0f17c6e19a
commit
7f22586960
3
build.sh
3
build.sh
@ -11,6 +11,9 @@ find /etc/tinc/ -type f -name '*.tmpl' -exec sh -c 'sigil -f {} -p $(cat /etc/li
|
|||||||
find /etc/tinc/ -type f -name '*.tmpl' | xargs -I '{}' rm -f {}
|
find /etc/tinc/ -type f -name '*.tmpl' | xargs -I '{}' rm -f {}
|
||||||
# Copy private key
|
# Copy private key
|
||||||
cp /etc/lixonet/tinc.key /etc/tinc/rsa_key.priv
|
cp /etc/lixonet/tinc.key /etc/tinc/rsa_key.priv
|
||||||
|
# Set permissions
|
||||||
|
chmod +x /etc/tinc/lixonet/tinc-up
|
||||||
|
chmod +x /etc/tinc/lixonet/tinc-down
|
||||||
|
|
||||||
|
|
||||||
# Bird
|
# Bird
|
||||||
|
@ -1 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
ifconfig \$INTERFACE ${address} netmask ${netmask}
|
ifconfig \$INTERFACE ${address} netmask ${netmask}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user