Add rc.d shutdown detection to PCDM as well as the ability to "stop" the PCDMd script (after the current session finishes).
Merge branch 'master' of github.com:pcbsd/pcbsd