Sophie

Sophie

distrib > Mandriva > cs4.0 > i586 > by-pkgid > 1c6c25d1a3db2dd66a9ce125b4099451 > scriptlet

nagios-www-2.5-2mlcs4.i586.rpm

POSTIN

/bin/sh
if [ -f /var/lock/subsys/httpd ]; then
    /etc/rc.d/init.d/httpd restart 1>&2;
fi
if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi 


echo "NOTE: Don't forget to set the nagios password, issue the command:"
echo "htpasswd /etc/nagios/passwd nagios"

POSTUN

/bin/sh
if [ "$1" = "0" ]; then
    if [ -f /var/lock/subsys/httpd ]; then
        /etc/rc.d/init.d/httpd restart 1>&2
    fi
fi
if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi