]>
git.proxmox.com Git - mirror_frr.git/blob - debian/tests/daemons
7 # modify config file to enable all daemons and copy config files
8 CONFIG_FILE
=/etc
/frr
/daemons
9 DAEMONS
=("zebra" "bgpd" "ospfd" "ospf6d" "ripd" "ripngd" "isisd" "pimd")
11 for daemon
in "${DAEMONS[@]}"
13 sed -i -e "s/${daemon}=no/${daemon}=yes/g" $CONFIG_FILE
14 cp /usr
/share
/doc
/frr
/examples
/${daemon}.conf.sample
/etc
/frr
/${daemon}.conf
18 /etc
/init.d
/frr restart
> /dev
/null
2>&1
21 for daemon
in "${DAEMONS[@]}"
23 echo -n "check $daemon - "
24 if pidof
-x $daemon > /dev
/null
; then
27 echo "ERROR: ${daemon} IS NOT RUNNING"