summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-06-25 20:34:49 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-06-25 20:34:49 +0200
commit3632149409719e819634155912371c27a70f3a2d (patch)
tree77156a529790a8e8f923b7f4e369426107196f08
parenttimedate: use gmtime_r() and localtime_r() (diff)
downloadsystemd-3632149409719e819634155912371c27a70f3a2d.tar.xz
systemd-3632149409719e819634155912371c27a70f3a2d.zip
network: provide default networkd.conf
Diffstat (limited to '')
-rw-r--r--src/network/meson.build3
-rw-r--r--src/network/networkd.conf16
2 files changed, 19 insertions, 0 deletions
diff --git a/src/network/meson.build b/src/network/meson.build
index 8f5544ea04..8f63815b12 100644
--- a/src/network/meson.build
+++ b/src/network/meson.build
@@ -131,6 +131,9 @@ if conf.get('ENABLE_NETWORKD') == 1
install_dir : polkitpkladir)
endif
+ install_data('networkd.conf',
+ install_dir : pkgsysconfdir)
+
tests += [
[['src/network/test-networkd-conf.c'],
[libnetworkd_core,
diff --git a/src/network/networkd.conf b/src/network/networkd.conf
new file mode 100644
index 0000000000..8dc5676166
--- /dev/null
+++ b/src/network/networkd.conf
@@ -0,0 +1,16 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# Entries in this file show the compile time defaults.
+# You can change settings by editing this file.
+# Defaults can be restored by simply deleting this file.
+#
+# See networkd.conf(5) for details
+
+[DHCP]
+#DUIDType=vendor
+#DUIDRawData=