default to mounting USB device on /media

This commit is contained in:
Trammell Hudson 2017-07-17 12:24:15 -04:00
parent 86f3e9f5dc
commit 22282da905
Failed to extract signature

View File

@ -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