summaryrefslogtreecommitdiff
path: root/nonprism
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2017-01-07 17:15:37 -0500
committerGaming4JC <g4jc@openmailbox.org>2017-01-07 17:15:37 -0500
commitc24bdf38fe89d74cfad9cc41a03de18a94159b28 (patch)
treeb6425d5ff9dda7611c001018c85743513995c7fb /nonprism
parent344981cec28a7c261c5871711c7ca68f7107de67 (diff)
downloadabslibre-c24bdf38fe89d74cfad9cc41a03de18a94159b28.tar.gz
abslibre-c24bdf38fe89d74cfad9cc41a03de18a94159b28.tar.bz2
abslibre-c24bdf38fe89d74cfad9cc41a03de18a94159b28.zip
remove dhcpcd hardened due to hostname-blanker
Diffstat (limited to 'nonprism')
-rw-r--r--nonprism/dhcpcd-hardened-script/PKGBUILD6
-rw-r--r--nonprism/dhcpcd-hardened-script/dhcpcd-hardened-script.service11
2 files changed, 14 insertions, 3 deletions
diff --git a/nonprism/dhcpcd-hardened-script/PKGBUILD b/nonprism/dhcpcd-hardened-script/PKGBUILD
index 747559cd0..5a098ebb3 100644
--- a/nonprism/dhcpcd-hardened-script/PKGBUILD
+++ b/nonprism/dhcpcd-hardened-script/PKGBUILD
@@ -3,16 +3,16 @@
pkgname=dhcpcd-hardened-script
pkgver=0.1
pkgrel=1
-pkgdesc="Removes Hostname and resets DUID to prevent DHCP leaks on the network"
+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'
-'cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e')
+'a8ee4b8e663daa0c282176852fdc1ca76ac48c19d2571bd898ea31f522d7233078c1cfc2775e7838964ede35179cf5c7e591431c7420a80a2fc6d75366d24bd8')
whirlpoolsums=('01a554f1dad6a49adf99faea21fc4e622a2af3f0d4001b80adde30daf255e46f69d22cd94142d70d5984bcd7ac234e38bab507c919827709d799e6d808c02b2d'
-'19fa61d75522a4669b44e39c1d2e1726c530232130d407f89afee0964997f7a73e83be698b288febcf88e3e03c4f0757ea8964e59b63d93708b138cc42a66eb3')
+'ee2f8a3cff99d387ed223579b688663995ff626f784ea74ea5bcc70eca797472cf535f6cfe74665dcde6f297205c86b5613361f02bd1ed0081f26913391f3c2c')
package() {
install -Dm755 dhcpcd_hardened.sh "$pkgdir"/usr/lib/dhcpcd/dhcpcd_hardened.sh
diff --git a/nonprism/dhcpcd-hardened-script/dhcpcd-hardened-script.service b/nonprism/dhcpcd-hardened-script/dhcpcd-hardened-script.service
index e69de29bb..2f01d0bf9 100644
--- a/nonprism/dhcpcd-hardened-script/dhcpcd-hardened-script.service
+++ b/nonprism/dhcpcd-hardened-script/dhcpcd-hardened-script.service
@@ -0,0 +1,11 @@
+[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