From 947295c5efefa06962f150ad223307a22613d056 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 19 Mar 2022 15:12:30 +0100 Subject: Added scripts to mount iso files --- .local/bin/isomnt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 .local/bin/isomnt (limited to '.local/bin/isomnt') diff --git a/.local/bin/isomnt b/.local/bin/isomnt new file mode 100755 index 0000000..18a86fd --- /dev/null +++ b/.local/bin/isomnt @@ -0,0 +1,8 @@ +#!/usr/local/bin/dash -e + +echo qwe + +[ -z "$1" ] && exit 1 +doas mdconfig -a -t vnode -f "$1" -u 1 +mkdir -p "$HOME"/dvd +mount -t cd9660 /dev/md1 "$HOME"/dvd -- cgit v1.2.3