4 # Version 0.1 included an initramfs hook. If we're upgrading from that
5 # version, we no longer have that hook. Update the generated initramfs
6 # now so that we don't have to in future.
9 if command -v update-initramfs >/dev/null 2>&1; then
14 # We'll also need to clean up links to make sure that our new start
15 # link is installed by update-rc.d. Grotty. :-(
16 force_remove_old_init_links() {
17 rm -f /etc/rc?.d/[SK]*fake-hwclock
22 if [ "$2"x = "0.1"x ] ; then
24 force_remove_old_init_links
26 # Add a save here to make sure we have time data; the user may
27 # reboot immediately afterwards, for example.