Implement device ID server registration and server-side init

This commit is contained in:
2024-05-16 17:14:42 -04:00
parent 56e8dc613a
commit 0faf2dc732
7 changed files with 28 additions and 21 deletions
+1 -3
View File
@@ -11,7 +11,7 @@ import (
// TempInit ensures libmutton directories exist and writes the libmutton configuration file
func TempInit(configFileMap map[string]string) {
// create EntryRoot and ConfigDir
dirInit()
DirInit()
// remove existing config file
removeFile(ConfigPath)
@@ -27,8 +27,6 @@ func TempInit(configFileMap map[string]string) {
for key, value := range configFileMap {
configFile.WriteString(key + " = " + value + "\n")
}
os.Exit(0)
}
// GpgUIDListGen generates a list of all GPG key IDs on the system and returns them as a slice of strings