From c3e0749ec437843ddf411fa6a232a7f626048d24 Mon Sep 17 00:00:00 2001 From: Anjan Chanda Date: Wed, 2 Oct 2019 09:27:01 +0200 Subject: [PATCH] wifilife: v1.4.3: enable core dump --- wifilife/files/etc/init.d/wifilife | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wifilife/files/etc/init.d/wifilife b/wifilife/files/etc/init.d/wifilife index 59dcadcc3..8e54d21ae 100755 --- a/wifilife/files/etc/init.d/wifilife +++ b/wifilife/files/etc/init.d/wifilife @@ -13,6 +13,7 @@ start_service() { procd_open_instance procd_set_param command ${PROG} -d -l -f -o /tmp/wifiagent.log + procd_set_param limits core="unlimited" procd_set_param respawn procd_close_instance @@ -22,6 +23,7 @@ start_service() { if [ "$enable" == "1" ]; then echo $enable > $ENABLE procd_set_param command ${PROG} -c -d -l -f -o /tmp/wificntlr.log + procd_set_param limits core="unlimited" fi procd_close_instance }