Implement device ID server registration and server-side init

This commit is contained in:
2024-05-16 17:14:42 -04:00
parent 171a58cf7d
commit cb9d082232
5 changed files with 11 additions and 15 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