diff --git a/src/etc/rc.importer b/src/etc/rc.importer index 5b2499493..222172ce7 100755 --- a/src/etc/rc.importer +++ b/src/etc/rc.importer @@ -63,13 +63,6 @@ bootstrap_and_exit() exit 0 } -if [ -n "${DO_BOOT}" ]; then - touch ${INSTALL} 2> /dev/null - if [ -f ${INSTALL} -a -f /conf/config.xml ]; then - bootstrap_and_exit - fi -fi - timeout_prompt() { OUTPUT=$(echo ${2} | sed 's/./& /g') @@ -93,8 +86,16 @@ timeout_prompt() return ${RETURN} } -if ! timeout_prompt 'Press any key to start the configuration importer:' .......; then - bootstrap_and_exit +if [ -n "${DO_BOOT}" ]; then + touch ${INSTALL} 2> /dev/null + if [ -f ${INSTALL} -a -f /conf/config.xml ]; then + bootstrap_and_exit + fi + + if ! timeout_prompt \ + 'Press any key to start the configuration importer:' .......; then + bootstrap_and_exit + fi fi DEVS=$(camcontrol devlist)