Browse files

make dss/gentoo-fix-system-time more robust (this is totally specific

to my own setup)
  • Loading branch information...
1 parent 02d5b20 commit 59d91d3cc5be7418a217b46c632e4add5049523b @tavisrudd committed Dec 7, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 dss-gentoo.el
View
4 dss-gentoo.el
@@ -37,6 +37,8 @@
(interactive)
(dss/remote-term
"root@localhost"
- "date; /etc/init.d/ntpd stop; ntpdate tavismac; /etc/init.d/ntpd start; date\nsleep 3 && exit\n"))
+ "date; date -s \"`ssh tavis@tavismac date`\"; hwclock -w; date;\nsleep 3 && exit\n"
+ ;"date; /etc/init.d/ntpd stop; ntpdate tavismac; /etc/init.d/ntpd start; date\nsleep 3 && exit\n"
+ ))
(provide 'dss-gentoo)

0 comments on commit 59d91d3

Please sign in to comment.