projects
/
fake-hwclock.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a save call to the postinst
[fake-hwclock.git]
/
debian
/
fake-hwclock.postinst
diff --git
a/debian/fake-hwclock.postinst
b/debian/fake-hwclock.postinst
index
549931f
..
c857351
100644
(file)
--- a/
debian/fake-hwclock.postinst
+++ b/
debian/fake-hwclock.postinst
@@
-23,6
+23,9
@@
case "${1:-}" in
cleanup_initramfs
force_remove_old_init_links
fi
cleanup_initramfs
force_remove_old_init_links
fi
+ # Add a save here to make sure we have time data; the user may
+ # reboot immediately afterwards, for example.
+ fake-hwclock save
;;
*) :;;
;;
*) :;;