fix /var/run/quagga permissions for Ubuntu 16.04

This commit is contained in:
Jeff Ahrenholz 2017-03-31 10:59:58 -07:00
parent 724534e3ac
commit 0b0557e008

View file

@ -194,6 +194,12 @@ bootquagga()
return 1
fi
# fix /var/run/quagga permissions
id -u quagga 2>/dev/null >/dev/null
if [ "$?" = "0" ]; then
chown quagga $QUAGGA_STATE_DIR
fi
bootdaemon "zebra"
for r in rip ripng ospf6 ospf bgp babel; do
if grep -q "^router \<${r}\>" $QUAGGA_CONF; then