summaryrefslogtreecommitdiff
path: root/spec/ospf/vyos1_script.sh
blob: 65b1c05c7adcb456a17cca22ffb6751aa89fb231 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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 ospf area 0.0.0.0 network 10.0.1.0/24
set protocols ospf area 0.0.0.0 network 10.0.2.0/24
set protocols ospf passive-interface eth2

commit
save