- while [ "${RADIO_DEVICE}" == "" ]; do
- message "${MESSAGE_COLOR}The following questions will setup the device
to use ${SPELL_COLOR}radio${DEFAULT_COLOR}${MESSAGE_COLOR}
on:${DEFAULT_COLOR}"
+message "${MESSAGE_COLOR}The following questions will setup the device to
use ${SPELL_COLOR}radio${DEFAULT_COLOR}${MESSAGE_COLOR} on.${DEFAULT_COLOR}"
+message "${MESSAGE_COLOR}If no device are found, the cast will
continue${DEFAULT_COLOR}"
- for RADIO_DEVICE in `ls ${INSTALL_ROOT}/dev/v4l/radio*
2>${INSTALL_ROOT}/dev/null` `ls ${INSTALL_ROOT}/dev/radio*
2>${INSTALL_ROOT}/dev/null` ; do
+ for RADIO_DEVICE in `ls ${INSTALL_ROOT}/dev/v4l/radio*
2>${INSTALL_ROOT}/dev/null` `ls ${INSTALL_ROOT}/dev/radio*
2>${INSTALL_ROOT}/dev/null` ; do
if query "Use ${RADIO_DEVICE} for the radio device? " y; then
echo "RADIO_DEVICE=${RADIO_DEVICE}" >> ${SPELL_CONFIG}
break
@@ -11,7 +11,6 @@
unset RADIO_DEVICE
fi
done
- done
echo "RADIO_DEVICE=$RADIO_DEVICE" > $SPELL_CONFIG