S09coredump 311 B

123456789101112131415161718
  1. #!/bin/sh
  2. source /opt/wz_mini/etc/rc.common
  3. set -x
  4. core() {
  5. #Kill dumpload so it won't waste cpu or ram gathering cores and uploading them when something crashes
  6. wait_for_wlan_wpa
  7. echo "killing dumpload"
  8. /opt/wz_mini/bin/busybox pkill -f dumpload
  9. }
  10. sysctl -w kernel.core_pattern='|/bin/false'
  11. core &