aboutsummaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorkremlin <kremlin@juliana.home.network>2014-08-25 09:47:58 +0800
committerkremlin <kremlin@juliana.home.network>2014-08-25 09:47:58 +0800
commitdf8fc34169ec6b61b9695700e61687b27ad89958 (patch)
tree400b2717b410b896849aa13d6e28b81c02c68009 /TODO
parentfdc85a01566e858b6706610351238145f56f8f05 (diff)
downloadsystembsd-df8fc34169ec6b61b9695700e61687b27ad89958.tar
systembsd-df8fc34169ec6b61b9695700e61687b27ad89958.tar.gz
systembsd-df8fc34169ec6b61b9695700e61687b27ad89958.tar.bz2
systembsd-df8fc34169ec6b61b9695700e61687b27ad89958.tar.lz
systembsd-df8fc34169ec6b61b9695700e61687b27ad89958.tar.xz
systembsd-df8fc34169ec6b61b9695700e61687b27ad89958.tar.zst
systembsd-df8fc34169ec6b61b9695700e61687b27ad89958.zip
add get_bsd_hostname() and has_domain()
get_bsd_hostname takes a string and returns a proper FQDN to be written to /etc/myname or NULL if the passed string is unsalvagable. if passed string does not contain a domain, the current domain from /etc/myname is used. if /etc/myname does not contain a trailing domain, an error message is printed and the default (".home.network") is used.
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions