QoL feature - select best interface on current system
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

When generating a default config instead of using a canned value like "eth0", hypd will isntead look at what interfaces the system has and make a best guess based on progressively narrowing filters.
This commit is contained in:
steven committed 2024-04-20 19:25:15 -06:00
1 parent 6b1bfb3a01
commit 0942fb132f
3 files changed
+93 -2

No files matched your search

+3 -1
View File
@@ -33,7 +33,9 @@ Running hypd requires specifying a configuration file. It's recommended you gen
./hypd generate defaultconfig > hypd.conf
```
Make sure you take the time to review the hypd.conf file and edit it to your liking, this is the most important step.
Make sure you take the time to review the hypd.conf file and edit it to your liking, this is the most important step. Make sure the network interface is correct, hypd will make an educated guess based on the interfaces your system has.
If you have complex requirements, you can make the successAction/timeoutAction an external shell script. If you want to disable the timeoutAction, you can set timeoutSeconds to 0.
Once you have set your config file, you can finally run hypd.