S09coredump 247 B

12345678910
  1. #!/bin/sh
  2. core() {
  3. while ! pgrep -f "dumpload" > /dev/null; do
  4. pkill -f dumpload #Kill dumpload so it won't waste cpu or ram gathering cores and uploading them when something crashes
  5. done
  6. }
  7. sysctl -w kernel.core_pattern='|/bin/false'
  8. core &