quagga.postinst 405 B

12345678910111213141516
  1. #!/bin/sh
  2. . $IPKG_INSTROOT/etc/functions.sh
  3. gid=$(get_next_gid)
  4. add_group quagga $gid
  5. add_user quagga $(get_next_uid) $gid /tmp
  6. add_rcconf quagga quagga NO
  7. add_service zebrasrv 2600/tcp
  8. add_service zebra 2601/tcp
  9. add_service ripd 2602/tcp
  10. add_service ripngd 2603/tcp
  11. add_service ospfd 2604/tcp
  12. add_service bgpd 2605/tcp
  13. add_service ospf6d 2606/tcp
  14. add_service ospfapi 2607/tcp
  15. add_service isisd 2608/tcp