diff --git a/idd.sh b/idd.sh index 8d2d521..384a32c 100755 --- a/idd.sh +++ b/idd.sh @@ -77,8 +77,8 @@ case "$1" in printf "${YELLOW}Copy & paste full file path here: ${NC}" read filepath - CheckFile ${filepath} Quit ${filepath} + CheckFile ${filepath} clear Options echo @@ -89,9 +89,10 @@ case "$1" in echo printf "${YELLOW}Enter name of device${NC} (${LCYAN}example${NC}, ${LBLUE}sdb${NC}): " read devname + Quit ${devname} DEVPATH="${DEVICEDIR}/${devname}" CheckDev ${DEVPATH} - Quit ${devname} + echo @@ -126,9 +127,9 @@ case "$1" in printf "${YELLOW}Copy & paste full file path here: ${NC}" read filepath + Quit ${filepath} CheckFile ${filepath} - Quit ${filepath} clear Options @@ -140,11 +141,10 @@ case "$1" in echo printf "${YELLOW}Enter name of device${NC} (${LCYAN}example${NC}, ${LBLUE}sdb${NC}): " read devname - + Quit ${devname} DEVPATH="${DEVICEDIR}/${devname}" CheckDev ${DEVPATH} - Quit ${devname} - + echo printf "${YELLOW}Writing${NC} ${LGREEN}${filepath}${NC} to ${LGREEN}/dev/${devname}${NC}\n"