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

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