Manually merged updates from the old debian branch
[freeradius.git] / debian / freeradius-mysql.postinst
old mode 100755 (executable)
new mode 100644 (file)
index 7f1729e..f3ba4fe
@@ -1,5 +1,21 @@
 #! /bin/sh
 
-set -e 
+set -e
+
+case "$1" in
+  configure)
+        if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
+          # Customized by Painless Security: Don't abort install if the reload fails
+          invoke-rc.d freeradius force-reload || true
+        else
+          # Customized by Painless Security: Don't abort install if the reload fails
+          /etc/init.d/freeradius force-reload || true
+        fi
+       ;;
+esac
 
 #DEBHELPER#
+
+exit 0
+
+