summaryrefslogtreecommitdiff
path: root/package/quagga/files/quagga.postinst
blob: 22e74fb8ca328ca2c15108e89fd05520b317d878 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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 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