Changeset 30983


Ignore:
Timestamp:
2012-03-18T20:42:07+01:00 (6 years ago)
Author:
jow
Message:

Add munin to /etc/services

The muninlite postinst fails to add munin to /etc/services.

This patch removes this broken postinst and add an entry for munin in
/etc/services. This should have been done when the rest of the
/etc/services postinsts were being removed (changesets 26142-26149).

Signed-off-by: Jonathan McCrohan <jmccrohan@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/admin/muninlite/Makefile

    r29199 r30983  
    1010PKG_NAME:=muninlite 
    1111PKG_VERSION:=1.0.4 
    12 PKG_RELEASE:=2 
     12PKG_RELEASE:=3 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    2929        Munin node implemented in shell. 
    3030        Munin is a monitoring system for Unix networks. 
    31 endef 
    32  
    33 define Package/muninlite/postinst 
    34 #!/bin/sh 
    35 grep -q '^munin[[:space:]]*4949/tcp' $${IPKG_INSTROOT}/etc/services 2>/dev/null 
    36 [ $$? -ne 0 ] && echo "munin       4949/tcp" >> $${IPKG_INSTROOT}/etc/services 
    37 exit 0 
    3831endef 
    3932 
Note: See TracChangeset for help on using the changeset viewer.