mkfloppyimg.sh (119B)
1 #!/bin/bash 2 3 if [ ! "$UID" == "0" ]; then 4 echo "[+] you need to be root!" 1>&2 5 exit 6 fi 7 dd if=./image.img of=/dev/fd0