Conversation
|
I had free time so i fixed it, already merged, thanks |
|
lol, thanks :} |
|
I did change it to always show on webpage though, if showstaticfields is on |
|
learning to use github effectively, still a learning from googling. |
|
check out core.autocrlf = auto, it keeps whitespaces same as repo |
|
So if the user only specifies ip, gw and sn, then the DNS will still pop up in the web interface. That's why I set it as optional, else we got to edit the readme that DNS is mandatory. |
|
Why would it be mandatory, it can be blank, the problem is showstaticfields and if staticip tied togsther, i might add a more detailed customization option to flag each one regardless of custom or not |
|
Showstaticfields ip,gw,sn,dns bool, or maybe three state int 0,1,2 show always, show if set, show never |
|
Maybe just 2 toggles, ip and dns, if you enable staticip you probsbly always want gw and sn also always |
|
Exactly, static IP with and without dns. |
Used vim in linux to edit the files. Hopefully didnt create a mess.