Ensure links exists before enabling service using update-rc.d.

Also reverts change detection which does not work between platforms (#3315)

This patch fixes #3572