check if rc.local exists before using it