[vdr] Improved pm script - resume vdr only if it was started.