We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2a434a commit f8da67cCopy full SHA for f8da67c
src/hostname/hostnamed.c
@@ -40,6 +40,8 @@
40
41
#define VALID_DEPLOYMENT_CHARS (DIGITS LETTERS "-.:")
42
43
+/* Properties we cache are indexed by an enum, to make invalidation easy and systematic (as we can iterate
44
+ * through them all, and they are uniformly strings). */
45
enum {
46
/* Read from /etc/hostname */
47
PROP_STATIC_HOSTNAME,
@@ -51,9 +53,6 @@ enum {
51
53
PROP_DEPLOYMENT,
52
54
PROP_LOCATION,
55
- PROP_HARDWARE_VENDOR,
- PROP_HARDWARE_MODEL,
56
-
57
/* Read from /etc/os-release (or /usr/lib/os-release) */
58
PROP_OS_PRETTY_NAME,
59
PROP_OS_CPE_NAME,
0 commit comments