#!/bin/sh
if [ $# != 1 ]; then
echo "Usage: coredump <on | off>"
exit
fi
if [ "$1" = on ]; then
kill -s 44 1
touch /nvm/.coredump_enable
else
rm -f /nvm/.coredump_enable
fi