From f85564171ae26c0b2e32f1dd8a20a345fb41a08d Mon Sep 17 00:00:00 2001 From: David P Date: Thu, 15 Mar 2018 20:41:26 -0300 Subject: removing deprecated [nonprism] pkgs --- nonprism/hostname-blanker/PKGBUILD | 23 ---------------------- nonprism/hostname-blanker/hostname-blanker.install | 4 ---- nonprism/hostname-blanker/hostname-blanker.service | 11 ----------- nonprism/hostname-blanker/hostname-blanker.sh | 12 ----------- 4 files changed, 50 deletions(-) delete mode 100644 nonprism/hostname-blanker/PKGBUILD delete mode 100644 nonprism/hostname-blanker/hostname-blanker.install delete mode 100644 nonprism/hostname-blanker/hostname-blanker.service delete mode 100644 nonprism/hostname-blanker/hostname-blanker.sh (limited to 'nonprism/hostname-blanker') diff --git a/nonprism/hostname-blanker/PKGBUILD b/nonprism/hostname-blanker/PKGBUILD deleted file mode 100644 index c6f26298b..000000000 --- a/nonprism/hostname-blanker/PKGBUILD +++ /dev/null @@ -1,23 +0,0 @@ -# Maintainer: Luke R. GPG: rsa4096/3EAE8697 - -pkgname=hostname-blanker -pkgver=0.1 -pkgrel=1 -pkgdesc="Service that removes computer hostname by setting it to localhost on startup, hence sending nothing to the network." -arch=(any) -license=(GPL2) -depends=('systemd') -install=hostname-blanker.install -replaces=('hostname-protection') -provides=('hostname-protection') -source=('hostname-blanker.sh' -'hostname-blanker.service') -sha512sums=('207faa6f8bad53880af25c6be830536bb166d24ff12a16a3f134cda50ce352b46b7b523cf8d9c5cf6b35a5f8b3f85e8a0d56d99edcb5413fd8078f39559a2810' -'921b0e23c71d985225618fb4a61d2c505186df7902cb9d0233aefe4b9768b220608e52608e69c668cb11b9b49fba6ab4d5e97753c64509a18ae77b86e4ad1003') -whirlpoolsums=('c968e1556687b6b9d7f0fc363ae9823657a53b9910190392d54f68b4e5787cb48a779196b79ab3308f36e1ae5390b5c050156889b2753d0e9166a7833b2076cb' -'6e3bebac683338a8b6c9a78953f44d9bc80fca7286a8cd19fb63cd4c659bf43a093fa0fdb9a1c60d4d868364ab0fe30728525ba8726159bccc3d1f5355d3b7ec') - -package() { - install -Dm755 hostname-blanker.sh "$pkgdir"/opt/hostname-blanker.sh - install -Dm644 "$srcdir/hostname-blanker.service" "$pkgdir/usr/lib/systemd/system/hostname-blanker.service" -} diff --git a/nonprism/hostname-blanker/hostname-blanker.install b/nonprism/hostname-blanker/hostname-blanker.install deleted file mode 100644 index aa6599b22..000000000 --- a/nonprism/hostname-blanker/hostname-blanker.install +++ /dev/null @@ -1,4 +0,0 @@ -post_install() { - echo "Enabling hostname-blanker.service..." - systemctl enable hostname-blanker.service -} \ No newline at end of file diff --git a/nonprism/hostname-blanker/hostname-blanker.service b/nonprism/hostname-blanker/hostname-blanker.service deleted file mode 100644 index 8a4bd922f..000000000 --- a/nonprism/hostname-blanker/hostname-blanker.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Sets hostname before network comes online -Before=network-pre.target - -[Service] -Type=oneshot -ExecStart=/bin/bash /opt/hostname-blanker.sh -RemainAfterExit=false - -[Install] -WantedBy=network-pre.target diff --git a/nonprism/hostname-blanker/hostname-blanker.sh b/nonprism/hostname-blanker/hostname-blanker.sh deleted file mode 100644 index c19d60eb3..000000000 --- a/nonprism/hostname-blanker/hostname-blanker.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -# This script wipes hostname so that DHCP can't send it over the network -#hostnamectl set-hostname localhost -sed -i '/dhcp=/c\dhcp=dhclient' /etc/NetworkManager/NetworkManager.conf -echo "localhost" > /etc/hostname -wait -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 -wait -sysctl kernel.hostname=localhost -wait -hostname localhost ##avoids need to reboot before showing our new hostname in terminals etc. -wait -- cgit v1.2.3