summaryrefslogtreecommitdiff
path: root/package/quagga/ipkg/quagga.postinst
blob: 868d00de90b899dade7aa49323af07c7f244bf46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh

gid=$(get_next_gid)
add_group quagga $gid
add_user quagga $(get_next_uid) $gid /tmp
add_rcconf quagga quagga NO
add_service zebrasrv 2600/tcp
add_service zebra 2601/tcp
add_service ripd 2602/tcp
add_service ripngd 2603/tcp
add_service ospfd 2604/tcp
add_service bgpd 2605/tcp
add_service ospf6d 2606/tcp
add_service ospfapi 2607/tcp
add_service isisd 2608/tcp