summaryrefslogtreecommitdiff
path: root/spec/site_to_site_vpn/vyos3_script.sh
blob: 3db2539559a6231fc6ec6706cf92ee86eaccc2ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/vbash

if [ "$(id -g -n)" != 'vyattacfg' ] ; then
  exec sg vyattacfg -c "/bin/vbash $(readlink -f $0) $@"
fi

source /opt/vyatta/etc/functions/script-template

set protocols static route 10.0.3.0/24 next-hop 10.0.2.11

commit
save