11
if [ -e /usr/share/debconf/confmodule ]; then
12
. /usr/share/debconf/confmodule
22
# If an alternative update-rc.d and invoke-rc.d implementation is
23
# unpacked before this postrm script is executed, we do not want to
24
# replace their programs with the symlink.
25
if [ ! -e /usr/sbin/update-rc.d ] ; then
26
ln -sf /usr/share/sysvinit/update-rc.d /usr/sbin/update-rc.d
28
if [ ! -e /usr/sbin/invoke-rc.d ] ; then
29
ln -sf /usr/share/sysvinit/update-rc.d /usr/sbin/invoke-rc.d
32
# Remove files generated by insserv
33
rm -f /etc/init.d/.depend.boot
34
rm -f /etc/init.d/.depend.start
35
rm -f /etc/init.d/.depend.stop
37
# Do not remove /etc/init.d/.legacy-bootordering, to allow those
38
# taking over to know where to continue.