mirror of
https://github.com/lakinduakash/linux-wifi-hotspot.git
synced 2024-11-24 13:10:14 +00:00
Check for complain as well al aa-complain
This commit is contained in:
parent
89c5988e37
commit
35e8df0564
@ -1879,10 +1879,12 @@ if [[ "$SHARE_METHOD" != "bridge" ]]; then
|
|||||||
if [[ $NO_DNSMASQ -eq 0 ]]; then
|
if [[ $NO_DNSMASQ -eq 0 ]]; then
|
||||||
iptables -w -I INPUT -p udp -m udp --dport 67 -j ACCEPT || die
|
iptables -w -I INPUT -p udp -m udp --dport 67 -j ACCEPT || die
|
||||||
|
|
||||||
if which aa-complain > /dev/null 2>&1; then
|
|
||||||
# openSUSE's apparmor does not allow dnsmasq to read files.
|
# apparmor does not allow dnsmasq to read files.
|
||||||
# remove restriction.
|
# remove restriction.
|
||||||
aa-complain dnsmasq
|
|
||||||
|
if COMPLAIN_CMD=$(command -v complain || command -v aa-complain); then
|
||||||
|
COMPLAIN_CMD dnsmasq
|
||||||
fi
|
fi
|
||||||
|
|
||||||
umask 0033
|
umask 0033
|
||||||
|
Loading…
Reference in New Issue
Block a user