Compare commits
No commits in common. "fe2348a725246f3ed83e0f31a4330bfce5e2eb38" and "e7ecf8707d04cfcf5d9bb8363b9e3f717f58889f" have entirely different histories.
fe2348a725
...
e7ecf8707d
12
lnxrouter
12
lnxrouter
|
@ -2087,9 +2087,8 @@ run_wifi_ap_processes() {
|
|||
echo
|
||||
echo "Starting hostapd"
|
||||
|
||||
if COMPLAIN_CMD="$(command -v aa-complain || command -v complain)"; then
|
||||
echo "Setting hostapd to AppArmor complain mode..."
|
||||
"$COMPLAIN_CMD" hostapd
|
||||
if which complain > /dev/null 2>&1; then
|
||||
complain hostapd
|
||||
fi
|
||||
|
||||
# hostapd '-P' works only when use '-B' (run in background)
|
||||
|
@ -2109,9 +2108,10 @@ start_dnsmasq() {
|
|||
echo
|
||||
echo "Starting dnsmasq"
|
||||
|
||||
if COMPLAIN_CMD="$(command -v aa-complain || command -v complain)"; then
|
||||
echo "Setting dnsmasq to AppArmor complain mode..."
|
||||
"$COMPLAIN_CMD" dnsmasq
|
||||
if which complain > /dev/null 2>&1; then
|
||||
# openSUSE's apparmor does not allow dnsmasq to read files.
|
||||
# remove restriction.
|
||||
complain dnsmasq
|
||||
fi
|
||||
|
||||
# Using '-d'(no daemon) dnsmasq will not turn into 'nobody'
|
||||
|
|
Loading…
Reference in New Issue