diff options
Diffstat (limited to 'nonprism/dhcpcd-hardened-script')
-rw-r--r-- | nonprism/dhcpcd-hardened-script/PKGBUILD | 20 | ||||
-rw-r--r-- | nonprism/dhcpcd-hardened-script/dhcpcd-hardened-script.service | 11 | ||||
-rw-r--r-- | nonprism/dhcpcd-hardened-script/dhcpcd_hardened.sh | 6 |
3 files changed, 0 insertions, 37 deletions
diff --git a/nonprism/dhcpcd-hardened-script/PKGBUILD b/nonprism/dhcpcd-hardened-script/PKGBUILD deleted file mode 100644 index 5a098ebb3..000000000 --- a/nonprism/dhcpcd-hardened-script/PKGBUILD +++ /dev/null @@ -1,20 +0,0 @@ -# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697 - -pkgname=dhcpcd-hardened-script -pkgver=0.1 -pkgrel=1 -pkgdesc="Removes Hostname and resets DUID on bootup to prevent DHCP leaks on the network" -arch=(any) -license=(GPL2) -depends=('dhcpcd') -source=('dhcpcd_hardened.sh' -'dhcpcd-hardened-script.service') -sha512sums=('3f14d58fe05ab521594f2f48aaf0124c019b079a7fad267b70e5e0fd8cc08860edbaebeb68149de1599355845c17e4f5229d7664b74604e70d3f36b18c05b63a' -'a8ee4b8e663daa0c282176852fdc1ca76ac48c19d2571bd898ea31f522d7233078c1cfc2775e7838964ede35179cf5c7e591431c7420a80a2fc6d75366d24bd8') -whirlpoolsums=('01a554f1dad6a49adf99faea21fc4e622a2af3f0d4001b80adde30daf255e46f69d22cd94142d70d5984bcd7ac234e38bab507c919827709d799e6d808c02b2d' -'ee2f8a3cff99d387ed223579b688663995ff626f784ea74ea5bcc70eca797472cf535f6cfe74665dcde6f297205c86b5613361f02bd1ed0081f26913391f3c2c') - -package() { - install -Dm755 dhcpcd_hardened.sh "$pkgdir"/usr/lib/dhcpcd/dhcpcd_hardened.sh - install -Dm644 "$srcdir/dhcpcd-hardened-script.service" "$pkgdir/usr/lib/systemd/system/dhcpcd-hardened-script.service" -} diff --git a/nonprism/dhcpcd-hardened-script/dhcpcd-hardened-script.service b/nonprism/dhcpcd-hardened-script/dhcpcd-hardened-script.service deleted file mode 100644 index 2f01d0bf9..000000000 --- a/nonprism/dhcpcd-hardened-script/dhcpcd-hardened-script.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Before=network-pre.target -Wants=network-pre.target - -[Service] -Type=oneshot -ExecStart=/bin/bash /usr/lib/dhcpcd/dhcpcd_hardened.sh -RemainAfterExit=false - -[Install] -WantedBy=multi-user.target 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 |