diff options
| author | Jeff Carr <[email protected]> | 2025-10-03 03:52:26 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-03 03:52:26 -0500 |
| commit | 3e8bef724c2173c4ecf749e0c03d9131abd094bb (patch) | |
| tree | c94e81706a78970bbef16054172b944f7f8bf84f /doRdate.go | |
| parent | 62abca26fd749a3fcb7838479e90bef7db747d0f (diff) | |
add rdate
Diffstat (limited to 'doRdate.go')
| -rw-r--r-- | doRdate.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doRdate.go b/doRdate.go new file mode 100644 index 0000000..244b7c1 --- /dev/null +++ b/doRdate.go @@ -0,0 +1,11 @@ +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + +package main + +func doRdate() { + checkSuperuser() + + exitOnError([]string{"rdate", "rdate.grid.wit.com"}) + exitOnError([]string{"hwclock", "-w"}) +} |
