Change the config location to /etc/rfm69
This commit is contained in:
parent
a0d9f029b1
commit
b567c2ccb2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue