summaryrefslogtreecommitdiff
path: root/includes/statement.h
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2022-08-04 12:15:46 +0200
committerChristian Hesse <mail@eworm.de>2022-08-10 09:30:20 +0200
commitb2482a4f7d9a06a9c10a26eb1fb2b855d83e94c7 (patch)
tree6b9df7fe9c5cf4e7617b0fa6e0ce5d822c5cff9e /includes/statement.h
parent33226f2d76b6b7a06df6b76abbb3526100f5ae2d (diff)
downloadisc-dhcp-uname-n.tar.gz
[!99] replace `hostname` with `uname -n` & `hostnamectl`uname-n
The former belongs to package `inetutils`, which has some security implications, so let's use `uname` from `coreutils` to get the hostname. For *setting* the hostname things are more limited. Let's use `hostnamectl` from `systemd` if available. Fall back to `hostname`, then `sysctl`.
Diffstat (limited to 'includes/statement.h')
0 files changed, 0 insertions, 0 deletions