Change the config location to /etc/rfm69

master
Friedl Ulrich 9 years ago
parent a0d9f029b1
commit b567c2ccb2

@ -62,7 +62,7 @@ func actorHandler(tx chan *rfm69.Data) func(client *MQTT.Client, msg MQTT.Messag
}
func readConfig() (*Configuration, error) {
file, err := os.Open("conf.json")
file, err := os.Open("/etc/rfm69/conf.json")
if err != nil {
return nil, err
}

Loading…
Cancel
Save