Package quagga: Scripts

Post install

# "&>/dev/null" used for restarting when connection lost
{
/usr/sbin/post_service zebra
/usr/sbin/post_service ripd
/usr/sbin/post_service ospfd
/usr/sbin/post_service ospf6d
/usr/sbin/post_service ripngd
/usr/sbin/post_service bgpd
/usr/sbin/post_service isisd
/usr/sbin/post_service pimd
/usr/sbin/post_service watchquagga
} &>/dev/null
Pre install

1
2
3
4
5
/usr/sbin/groupadd -rf quaggavty
/usr/sbin/groupadd -rf quagga

/usr/sbin/useradd -r -g quagga -d /dev/null -s /dev/null -n quagga &>/dev/null ||:
/usr/sbin/usermod -G quaggavty quagga &>/dev/null ||:
Pre uninstall

1
2
3
4
5
6
7
8
9
/usr/sbin/preun_service watchquagga
/usr/sbin/preun_service ripd
/usr/sbin/preun_service ospfd
/usr/sbin/preun_service ospf6d
/usr/sbin/preun_service ripngd
/usr/sbin/preun_service bgpd
/usr/sbin/preun_service isisd
/usr/sbin/preun_service pimd
/usr/sbin/preun_service zebra