Files
Scripts/scripte/copy.sh
T
2026-02-17 05:52:32 +00:00

30 lines
570 B
Bash

#!/bin/bash
#(c) Christopher Münzer DB InfraGo Betriebszentrale Duisburg
clear
echo "Willkommen beim Tool für das bespielen des ISBP Installationssticks"
sleep 3
echo "Auf welchem Gerät soll der Befehl ausgeführt werden?"
echo "a) /dev/sda"
echo "b) /dev/sdb"
echo -n "Ihre Wahl (a/b): "
read -r choice
case $choice in
a|A)
device="/dev/sda"
;;
b|B)
device="/dev/sdb"
;;
*)
echo "Ungültige Eingabe!"
exit 1
;;
esac
IMAGE=/tmp/win_isbp_24_3_1_3.img
dd if="$IMAGE" of="$device" status=progress