mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 04:53:01 +02:00
10 lines
339 B
Plaintext
10 lines
339 B
Plaintext
usb_cmd=""
|
|
|
|
if [ -n "{{qn_usb}}" ]; then
|
|
if ! [ -f {{qn_usb}} ]; then
|
|
dd if=/dev/zero of={{qn_usb}} bs=8M count=1 >/dev/null 2>&1
|
|
mkfs.vfat {{qn_usb}} >/dev/null 2>&1
|
|
fi
|
|
usb_cmd=" -drive if=none,id=usbstick,format=raw,file={{qn_usb}} -usb -device usb-ehci,id=ehci -device usb-storage,bus=ehci.0,drive=usbstick "
|
|
fi
|