From 4898ab718ab052beed1b7a1911fed21a80d15181 Mon Sep 17 00:00:00 2001 From: "sanghyeok.oh" Date: Wed, 8 May 2019 21:11:54 +0900 Subject: [PATCH] dbus: modified to use renamed tool tool name has changed dbus-policychecker to dbuspolicy-checker Change-Id: I3e5993ed365c9c5e4c37232f377e000c6af93e1b Signed-off-by: sanghyeok.oh --- scripts/generic-dbus-policychecker.post | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/generic-dbus-policychecker.post b/scripts/generic-dbus-policychecker.post index 3541260..c97719a 100644 --- a/scripts/generic-dbus-policychecker.post +++ b/scripts/generic-dbus-policychecker.post @@ -1,11 +1,11 @@ #!/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 -- 2.7.4