On FreeBSD 8.2-RELEASE, I cannot get dialog (or the system cdialog) to display prompts during boot.
I have a python script that uses python's dialog module (using cdialog) to prompt the user for certain settings that I often change at boot. After changing them, I have to reboot. So, I want this script to run during boot to avoid forcing a reboot. The script works when I execute it at command line and I even have it working on ttyv1. But, during boot, once the rc system starts the script, I get a black screen with a centered arrow that won't move. I can break out of it and the boot process proceeds.
I've tested and found that a shell script calling either dialog or cdialog directly has the same problem during boot.
Any suggestions as to what is causing this and how I can fix it?
Thanks!
I have a python script that uses python's dialog module (using cdialog) to prompt the user for certain settings that I often change at boot. After changing them, I have to reboot. So, I want this script to run during boot to avoid forcing a reboot. The script works when I execute it at command line and I even have it working on ttyv1. But, during boot, once the rc system starts the script, I get a black screen with a centered arrow that won't move. I can break out of it and the boot process proceeds.
I've tested and found that a shell script calling either dialog or cdialog directly has the same problem during boot.
Any suggestions as to what is causing this and how I can fix it?
Thanks!