POSTIN
/bin/sh
if [ "$1" = "1" ]; then /sbin/service httpd condrestart; fi if [ "$1" = 1 ]; then cookie=`head /dev/urandom | md5sum | cut -b 1-16 ` perl -pi -e "s#\\\$cookiesalt = .*#\\\$cookiesalt = '$cookie';#" /etc/flyspray/header.php fi
POSTUN
/bin/sh
if [ "$1" = "0" ]; then /sbin/service httpd condrestart; else /sbin/service httpd condreload; fi