From 97fb72d696512cbe53502918ea059b4ab6fc9755 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 9 Oct 2025 01:29:52 -0500 Subject: make 'linux' subcommand --- doRdate.go | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 doRdate.go (limited to 'doRdate.go') diff --git a/doRdate.go b/doRdate.go deleted file mode 100644 index 7896f1c..0000000 --- a/doRdate.go +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2017-2025 WIT.COM Inc. All rights reserved. -// Use of this source code is governed by the GPL 3.0 - -package main - -import ( - "go.wit.com/lib/debian" - "go.wit.com/lib/fhelp" -) - -func doRdate() { - checkSuperuser() - - if _, err := fhelp.CheckCmd("rdate"); err != nil { - debian.AptInstallOrExit("rdate") - } - - if _, err := fhelp.CheckCmd("hwclock"); err != nil { - debian.AptInstallOrExit("util-linux-extra") - } - - exitOnError([]string{"rdate", "rdate.grid.wit.com"}) - exitOnError([]string{"hwclock", "-w"}) -} -- cgit v1.2.3