Remove master resource
Set mode on config and sysvinit script