diff --git a/op-mode-definitions/date.xml.in b/op-mode-definitions/date.xml.in index 6d85860257..4e62a8335f 100644 --- a/op-mode-definitions/date.xml.in +++ b/op-mode-definitions/date.xml.in @@ -35,7 +35,7 @@ <MMDDhhmm> <MMDDhhmmYY> <MMDDhhmmCCYY> <MMDDhhmmCCYY.ss> - /bin/date "$3" + sudo bash -c "/bin/date '$3' && hwclock --systohc --localtime"