summaryrefslogtreecommitdiff
path: root/nonprism/dhcpcd-hardened-script/dhcpcd_hardened.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nonprism/dhcpcd-hardened-script/dhcpcd_hardened.sh')
-rw-r--r--nonprism/dhcpcd-hardened-script/dhcpcd_hardened.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/nonprism/dhcpcd-hardened-script/dhcpcd_hardened.sh b/nonprism/dhcpcd-hardened-script/dhcpcd_hardened.sh
deleted file mode 100644
index 82f1b4dd0..000000000
--- a/nonprism/dhcpcd-hardened-script/dhcpcd_hardened.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-# This script wipes hostname and DUID so that DHCP can't send it over the network
-hostnamectl set-hostname localhost
-sed -i '/127.0.0.1/c\127.0.0.1 localhost.localdomain localhost 'localhost'' /etc/hosts ##properly sets our new host in /etc/hosts file
-hostname localhost ##avoids need to reboot before showing our new hostname in terminals etc.
-rm -rf /etc/dhcpcd.duid # Delete DUID