From 61bf3e7463c2e7f40874e718911f2bd6b86b859e Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 16 May 2026 17:35:43 -0500 Subject: chore(scripts): drop dead and superseded scripts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Audit pass: each of these had no references anywhere in the repo (excluding self-references and review notes). - wip-bootcandy.sh — "wip" prefix, non-executable. Comments mention a boot animation but the script only installs ly and disables getty@tty2. - protonmail-bridge.sh — `pacman_install protonmail-bridge` (the package landed in extra) plus cmail-setup-finish.sh now cover this. - wireguard-proton.sh — hardcoded USGA tunnel and a relative `../assets/wireguard-config/*.conf` path that depends on the caller's pwd. - create-archiso-zfs.sh — one-off ISO build snippet, non-executable. - scripts/testing/lib/finalize-base-vm.sh — libvirt-era leftover. The test stack moved to direct QEMU and nothing sources or calls it. --- scripts/create-archiso-zfs.sh | 33 --------------------------------- scripts/protonmail-bridge.sh | 17 ----------------- scripts/testing/lib/finalize-base-vm.sh | 21 --------------------- scripts/wip-bootcandy.sh | 17 ----------------- scripts/wireguard-proton.sh | 13 ------------- 5 files changed, 101 deletions(-) delete mode 100644 scripts/create-archiso-zfs.sh delete mode 100644 scripts/protonmail-bridge.sh delete mode 100755 scripts/testing/lib/finalize-base-vm.sh delete mode 100644 scripts/wip-bootcandy.sh delete mode 100755 scripts/wireguard-proton.sh (limited to 'scripts') diff --git a/scripts/create-archiso-zfs.sh b/scripts/create-archiso-zfs.sh deleted file mode 100644 index 3028468..0000000 --- a/scripts/create-archiso-zfs.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env bash -# -# create-archiso-zfs.sh -# Craig Jennings -# Creates an arch linux iso with zfs support. -# This script must be run as root. - -pacman-key -r DDF7DB817396A49B2A2723F7403BD972F75D9D76 -pacman-key --lsign-key DDF7DB817396A49B2A2723F7403BD972F75D9D76 - -pacman -Syu --noconfirm archiso -mkdir ~/iso - -# copies the releng profile -cp -r /usr/share/archiso/configs/releng/* ~/iso - -# add the archzfs repository to the pacman configuration -echo -e ' -[archzfs] -Server = https://archzfs.com/$repo/$arch -SigLevel = Optional TrustAll' >> ~/iso/pacman.conf - -# tell archiso to install the zfs dkms module and zfs utils to resulting iso -echo -e ' -linux-headers -archzfs-dkms -zfs-utils' >> ~/iso/packages.x86_64 - -# build the iso. this takes some time -mkarchiso -vo ~/iso/out ~/iso - - - diff --git a/scripts/protonmail-bridge.sh b/scripts/protonmail-bridge.sh deleted file mode 100644 index 7dd8ad6..0000000 --- a/scripts/protonmail-bridge.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -# build proton bridge -mkdir $HOME/protonbridgebuild && cd $HOME/protonbridgebuild -wget https://proton.me/download/bridge/PKGBUILD -makepkg -s --install - -# init pass with a passphrase-free GPG key -gpg --batch --passphrase '' --quick-gen-key 'ProtonMailBridge' default default never -pass init "ProtonMailBridge" - -# launch protonmail-bridge -cd $HOME -protonmail-bridge & - -# cleanup -rm -rf $HOME/protonbridgebuild diff --git a/scripts/testing/lib/finalize-base-vm.sh b/scripts/testing/lib/finalize-base-vm.sh deleted file mode 100755 index e3913ea..0000000 --- a/scripts/testing/lib/finalize-base-vm.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -# Finalize base VM after installation -VM_NAME="archsetup-base" -echo "[i] Removing ISO from VM..." -virsh change-media $VM_NAME sda --eject 2>/dev/null || true -virsh change-media $VM_NAME hda --eject 2>/dev/null || true -echo "[✓] ISO removed" -echo "[i] Starting VM from installed system..." -virsh start $VM_NAME -echo "[i] Waiting for boot..." -sleep 30 -IP=$(virsh domifaddr $VM_NAME 2>/dev/null | grep -oP '(\d+\.){3}\d+' | head -1) -echo "[✓] Base VM is ready!" -echo "" -echo "Connect via:" -echo " Console: virsh console $VM_NAME" -echo " SSH: ssh root@$IP" -echo " Password: archsetup" -echo "" -echo "To create a test clone:" -echo " ./scripts/testing/run-test.sh" diff --git a/scripts/wip-bootcandy.sh b/scripts/wip-bootcandy.sh deleted file mode 100644 index 998cb2d..0000000 --- a/scripts/wip-bootcandy.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash -# Craig Jennings -# installs boot animation and a graphical login manager - -# -# Boot Manager -# - - -sudo pacman -S --noconfirm ly - -sudo systemctl enable ly.service - -# If you need to switch between ttys after Ly's start you also have to -# disable getty on Ly's tty to prevent "login" from spawning on top. - -sudo systemctl disable getty@tty2.service diff --git a/scripts/wireguard-proton.sh b/scripts/wireguard-proton.sh deleted file mode 100755 index afafd0e..0000000 --- a/scripts/wireguard-proton.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -# https://account.protonvpn.com/downloads - -sudo pacman -S --noconfirm wireguard-tools systemd-resolved - -# copy all Proton Wireguard config files -sudo cp ../assets/wireguard-config/*.conf /etc/wireguard/ - -sudo systemctl enable systemd-resolved -sudo systemctl start systemd-resolved - -sudo wg-quick up USGA -sudo wg -- cgit v1.2.3