blob: 2a388d5da7671bc045f549f4d93d2e26cf5c21f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
set -e
# should have been started on install, but policy may have inhibited that
service frr status >/dev/null || service frr restart
# these should be running by default
pgrep watchfrr
pgrep zebra
pgrep staticd
# check vtysh works at all
vtysh -c 'show version'
# check zebra is properly talking to the kernel
vtysh -c 'show interface lo' | grep -q LOOPBACK
|