#!/bin/sh
echo "#################### generic-dbus-policychecker.post ####################"
-if [ -x /usr/bin/dbus-policychecker ] ; then
+if [ -x /usr/bin/dbuspolicy-checker ] ; then
fail_cnt=0
for f in /etc/dbus-1/system.d/*.conf; do
echo
echo "$0: Checking D-Bus policy file: $f"
- result=$(/usr/bin/dbus-policychecker "$f")
+ result=$(/usr/bin/dbuspolicy-checker "$f")
fail=$(echo "$result" | grep FAILED | wc -l)
echo "$result"
if [ $fail -gt 0 ]; then