fixed function names in it/mm

This commit is contained in:
Luxferre
2026-02-07 15:15:36 +02:00
parent a7096b33c6
commit e48f4cf67a
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
# Usage: it.sh w|r image-file
# Created by Luxferre in 2026, released into public domain
get-removables() {
get_removables() {
for ddir in /sys/block/*; do
if grep -q 1 ${ddir}/removable; then
dbase="$(basename $ddir)"
@@ -27,7 +27,7 @@ if [ -z "$2" ]; then
echo "No target file specified!"
exit 1
fi
TARGET_DRIVE="/dev/$(get-removables | fzf --prompt "Select the drive: " | cut -f 1)"
TARGET_DRIVE="/dev/$(get_removables | fzf --prompt "Select the drive: " | cut -f 1)"
RUN_COMMAND=""
if [ "$1" = "w" ]; then