I'd do it as

if [ -e /etc/rcS.d/S04dmraid ]; then
  /usr/sbin/update-rc.d -f dmraid remove
fi

This way it's only removed when the link is still at the old location.
Your solution will override changes made by an admin if he moves the
link from S11 to something else.

If you don't object I will upload your debdiff with this change
tomorrow.

-- 
dmraid starts before udev in rcS.d
https://bugs.launchpad.net/bugs/98846
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to