summaryrefslogtreecommitdiff
path: root/hostname
AgeCommit message (Collapse)AuthorFilesLines
2022-04-23hostname: Fix logicA. Wilcox1-1/+1
Thanks to floatcomplex.
2022-04-23hostname: Fix file reading for setting node nameA. Wilcox1-5/+13
This isn't exactly compatible with net-tools, but it is close. net-tools will buffer a line longer than 1024 characters (up to the next 63 characters). This implementation will break at the 1024th character and start a new block of 63 char names there. I sincerely hope nobody is actually using this weird, undefined behaviour for anything serious.
2022-04-23hostname: Add ability to set node nameA. Wilcox1-3/+59
2022-04-22Add initial hostname(1) implementationA. Wilcox3-0/+259