Change the config location to /etc/rfm69

This commit is contained in:
Friedl Ulrich 2015-11-04 21:38:37 +01:00
parent a0d9f029b1
commit b567c2ccb2

View file

@ -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
}