aboutsummaryrefslogtreecommitdiff
path: root/scripts/wipedisk
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-24 19:44:29 -0400
committerCraig Jennings <c@cjennings.net>2026-06-24 19:44:29 -0400
commit934bbf398729b261ac4f75641a5900f4e2f42a7d (patch)
tree807b833ae7d3a42879e6f019a9497a7b9fe2455a /scripts/wipedisk
parentf81d9ec7cd8108e3749e8cd3cee130b6d742d0e9 (diff)
downloadarchsetup-934bbf398729b261ac4f75641a5900f4e2f42a7d.tar.gz
archsetup-934bbf398729b261ac4f75641a5900f4e2f42a7d.zip
chore: open-source release-prep (udev flag, SPDX headers, boolean style)
Three release cleanups, all behavior-preserving for my machines: - Gated the Logitech BRIO udev rule behind INSTALL_DEVICE_UDEV_RULES (default yes, opt-out), so the device-specific rule is off for anyone without that hardware. Added the config read, validation, and a conf.example entry. - Added a GPL-3.0-or-later SPDX-License-Identifier header after the shebang of all 24 shell scripts in the repo. - Standardized boolean conditionals on the explicit [ "$var" = "true" ] form, replacing the bare `if $var` idiom. The STEPS function-dispatch is left alone, since it runs a function name rather than testing a boolean.
Diffstat (limited to 'scripts/wipedisk')
-rw-r--r--scripts/wipedisk1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/wipedisk b/scripts/wipedisk
index 0c08c72..b833407 100644
--- a/scripts/wipedisk
+++ b/scripts/wipedisk
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: GPL-3.0-or-later
# Craig Jennings <c@cjennings.net>
# identify disk and erase