delete smart-smart-test

This commit is contained in:
Simon Gardling 2025-08-18 04:50:43 -04:00
parent 125c8a685e
commit cae94a40f2
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D
2 changed files with 0 additions and 27 deletions

View File

@ -174,7 +174,6 @@
lsof
disk-smart-test
reflac
pfetch-rs

View File

@ -31,32 +31,6 @@ final: prev: {
'';
};
disk-smart-test = prev.writeShellApplication {
name = "disk-smart-test";
runtimeInputs = with prev; [
gnugrep
coreutils
smartmontools
];
text = ''
#!/bin/sh
set -e
if [[ $EUID -ne 0 ]]; then
echo "This command requires root."
exit 2
fi
for i in /dev/disk/by-id/*; do
case "$i" in
*\\-part[0-9]*) continue ;;
esac
echo -n "$i "
smartctl -a "$i" | grep "SMART overall-health self-assessment test result:" | cut -d' ' -f6
done
'';
};
reflac = prev.writeShellApplication {
name = "reflac";
runtimeInputs = with prev; [ flac ];