summaryrefslogtreecommitdiff
path: root/source/n/dhcpcd/patches/use-hostname_short-in-dhcpcd.conf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/dhcpcd/patches/use-hostname_short-in-dhcpcd.conf.patch')
-rw-r--r--source/n/dhcpcd/patches/use-hostname_short-in-dhcpcd.conf.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/n/dhcpcd/patches/use-hostname_short-in-dhcpcd.conf.patch b/source/n/dhcpcd/patches/use-hostname_short-in-dhcpcd.conf.patch
new file mode 100644
index 00000000..077aa17b
--- /dev/null
+++ b/source/n/dhcpcd/patches/use-hostname_short-in-dhcpcd.conf.patch
@@ -0,0 +1,12 @@
+diff -Nur dhcpcd-7.0.0.orig/src/dhcpcd.conf dhcpcd-7.0.0/src/dhcpcd.conf
+--- dhcpcd-7.0.0.orig/src/dhcpcd.conf 2018-01-01 05:17:56.000000000 -0600
++++ dhcpcd-7.0.0/src/dhcpcd.conf 2018-01-02 04:14:37.026484155 -0600
+@@ -5,7 +5,7 @@
+ #controlgroup wheel
+
+ # Inform the DHCP server of our hostname for DDNS.
+-hostname
++hostname_short
+
+ # Use the hardware address of the interface for the Client ID.
+ #clientid