diff --git a/initrd/bin/mount-usb b/initrd/bin/mount-usb index 705d8f97..dd89bfe9 100755 --- a/initrd/bin/mount-usb +++ b/initrd/bin/mount-usb @@ -28,4 +28,8 @@ if [ ! -d /media ]; then mkdir /media fi -mount -o ro $1 /media +if [ -z "$1" ]; then + mount -o ro /media +else + mount -o ro $1 /media +fi