From 4c31ca1fe987c61bf2c67bedba5124c034bb1772 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 2 Feb 2024 22:08:27 -0500 Subject: [PATCH] configs: enable pcscd and install helpers in root profile --- .../multi-user.target.wants/pcscd.service | 1 + configs/airgap/airootfs/root/.bash_profile | 53 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 120000 configs/airgap/airootfs/etc/systemd/system/multi-user.target.wants/pcscd.service create mode 100644 configs/airgap/airootfs/root/.bash_profile diff --git a/configs/airgap/airootfs/etc/systemd/system/multi-user.target.wants/pcscd.service b/configs/airgap/airootfs/etc/systemd/system/multi-user.target.wants/pcscd.service new file mode 120000 index 0000000..4c37de5 --- /dev/null +++ b/configs/airgap/airootfs/etc/systemd/system/multi-user.target.wants/pcscd.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/pcscd.service \ No newline at end of file diff --git a/configs/airgap/airootfs/root/.bash_profile b/configs/airgap/airootfs/root/.bash_profile new file mode 100644 index 0000000..5ed2ed4 --- /dev/null +++ b/configs/airgap/airootfs/root/.bash_profile @@ -0,0 +1,53 @@ +help() { +cat </dev/null + mount $MOUNT_OPTS "/dev/$partition" "/media/$partition" + find "/media/$partition" -name '*.pgp' -maxdepth 2 | while read file; do + echo "Found potential shardfile: $file" + done + done +} + +help