Sophie

Sophie

distrib > Mandriva > cs4.0 > x86_64 > by-pkgid > d0e8bcaf988fc728b2217c30c68640bc > scriptlet

nagios-www-2.5-2mlcs4.x86_64.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