aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2022-12-16 13:09:36 +0100
committerFelix Fietkau <nbd@nbd.name>2022-12-16 14:32:47 +0100
commit581f2b15b2126e93575ac9cca2f7f02f913dc333 (patch)
tree92b75caaeace6af634a8878d497ace3a914c86c8 /package/network
parentc2fde432b3de2d0e153e436f1b7e3f64542e5edc (diff)
downloadupstream-581f2b15b2126e93575ac9cca2f7f02f913dc333.tar.gz
upstream-581f2b15b2126e93575ac9cca2f7f02f913dc333.tar.bz2
upstream-581f2b15b2126e93575ac9cca2f7f02f913dc333.zip
hostapd: enable coredumps
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/network')
-rw-r--r--package/network/services/hostapd/files/wpad.init2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/network/services/hostapd/files/wpad.init b/package/network/services/hostapd/files/wpad.init
index 79c5bf1075..65d46df982 100644
--- a/package/network/services/hostapd/files/wpad.init
+++ b/package/network/services/hostapd/files/wpad.init
@@ -13,6 +13,7 @@ start_service() {
procd_open_instance hostapd
procd_set_param command /usr/sbin/hostapd -s -g /var/run/hostapd/global
procd_set_param respawn 3600 1 0
+ procd_set_param limits core="unlimited"
[ -x /sbin/ujail -a -e /etc/capabilities/wpad.json ] && {
procd_add_jail hostapd
procd_set_param capabilities /etc/capabilities/wpad.json
@@ -29,6 +30,7 @@ start_service() {
procd_open_instance supplicant
procd_set_param command /usr/sbin/wpa_supplicant -n -s -g /var/run/wpa_supplicant/global
procd_set_param respawn 3600 1 0
+ procd_set_param limits core="unlimited"
[ -x /sbin/ujail -a -e /etc/capabilities/wpad.json ] && {
procd_add_jail wpa_supplicant
procd_set_param capabilities /etc/capabilities/wpad.json