Update tinc/lixonet/tinc-up.tmpl, build.sh files

This commit is contained in:
sump pump 2020-04-28 00:03:54 +00:00
parent 0f17c6e19a
commit 7f22586960
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -1 +1,2 @@
#!/bin/sh
ifconfig \$INTERFACE ${address} netmask ${netmask} ifconfig \$INTERFACE ${address} netmask ${netmask}