Update dsm-control.sh

pidof -s is no longer supported in DSM5.