diff options
author | Peter Palfrader <peter@palfrader.org> | 2019-02-20 15:38:26 +0100 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2019-02-20 15:38:26 +0100 |
commit | c430774e206223cf5c5c027083bf4614b3ccfba6 (patch) | |
tree | aea30ca3adf9744214cc7aa371b84130a1aa92ec | |
parent | 5ac4eacc2635b6136c4a06fa5fea4e41dced2667 (diff) |
-rwxr-xr-x | Generate | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -738,6 +738,9 @@ hostlist.each{ |host| upscript.puts "ip -6 addr add #{ host['vpn_address6'] }/128 dev $TUN_DEV" upscript.puts "ip -6 route add #{ peer['vpn_address6'] }/128 dev $TUN_DEV" end + if host['upscript-post'] + upscript.puts host['upscript-post'] + end upscript.puts "true" conffile.close |