From 89c5988e372f8a64bf6c8c8aa8c481a0f9926a76 Mon Sep 17 00:00:00 2001 From: tipex360 Date: Wed, 10 May 2023 05:06:48 +0100 Subject: [PATCH] Use 'aa-complain' instead of 'complain' to remove dnsmasq restriction --- src/scripts/create_ap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/create_ap b/src/scripts/create_ap index fe34833..0733ee4 100755 --- a/src/scripts/create_ap +++ b/src/scripts/create_ap @@ -1879,10 +1879,10 @@ if [[ "$SHARE_METHOD" != "bridge" ]]; then if [[ $NO_DNSMASQ -eq 0 ]]; then iptables -w -I INPUT -p udp -m udp --dport 67 -j ACCEPT || die - if which complain > /dev/null 2>&1; then + if which aa-complain > /dev/null 2>&1; then # openSUSE's apparmor does not allow dnsmasq to read files. # remove restriction. - complain dnsmasq + aa-complain dnsmasq fi umask 0033