From 0934a5440deeed386094933ce72f8be81ccaad5d Mon Sep 17 00:00:00 2001 From: Niclas Hofmann Date: Tue, 4 Apr 2023 11:02:44 +0200 Subject: [PATCH] Remove unnecessary `convert-mxnetctl-to-udev-rule.go` Would be buggy anyway. --- scripts/convert-mxnetctl-to-udev-rule.go | 28 ------------------------ 1 file changed, 28 deletions(-) delete mode 100644 scripts/convert-mxnetctl-to-udev-rule.go diff --git a/scripts/convert-mxnetctl-to-udev-rule.go b/scripts/convert-mxnetctl-to-udev-rule.go deleted file mode 100644 index 24c8988b7..000000000 --- a/scripts/convert-mxnetctl-to-udev-rule.go +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "bufio" - "fmt" - "os" - "strings" -) - -func main() { - // Open the file and scan it. - f, _ := os.Open("/etc/local/mxnet") - scanner := bufio.NewScanner(f) - - for scanner.Scan() { - line := scanner.Text() - - // Split the line on commas. - parts := strings.Split(line, " ") - - // Loop over the parts from the string. - for i := range parts { - fmt.Println(parts[i]) - } - // Write a newline. - fmt.Println() - } -}