mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-20 07:00:05 +01:00
hostname: drop define IFCFG_DIR which is only used once
Also, "src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-common.h" already has a define IFCFG_DIR, but with a different value. We shouldn't name different things the same.
This commit is contained in:
parent
cc12413c08
commit
1c2033301c
1 changed files with 1 additions and 2 deletions
|
|
@ -48,8 +48,7 @@
|
|||
#define HOSTNAME_FILE_UCASE_HOSTNAME "/etc/HOSTNAME"
|
||||
#define HOSTNAME_FILE_GENTOO "/etc/conf.d/hostname"
|
||||
|
||||
#define IFCFG_DIR SYSCONFDIR "/sysconfig/network"
|
||||
#define CONF_DHCP IFCFG_DIR "/dhcp"
|
||||
#define CONF_DHCP SYSCONFDIR "/sysconfig/network/dhcp"
|
||||
|
||||
#if (defined(HOSTNAME_PERSIST_SUSE) + defined(HOSTNAME_PERSIST_SLACKWARE) + defined(HOSTNAME_PERSIST_GENTOO)) > 1
|
||||
#error "Can only define one of HOSTNAME_PERSIST_*"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue