aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/minimunin/pkg-install
blob: 092878ad52e9738461b3c422c2c3714531e977c4 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh

if [ "$2" = "POST-INSTALL" ]; then
    echo "updating /etc/services"
    (grep -q '^munin ' /etc/services || \
    echo "munin           4949/tcp   #munin node"; ) \
    >> /etc/services
fi