On Wed, Sep 01, 2004 at 01:36:24AM +0200, Wouter Verhelst wrote: > [...serial check thinks real consoles are serial as well...] > > Hm. I just referenced the code which was already in rootskel, supposing > it was working OK, but that doesn't seem to be the case. Checking on my > VME box, however, the /proc/self/fd/* files also link to /dev/console, > so there is no way this problem could be fixed by slightly modifying the > check.
The difference is that the original code was called by debian-installer
and the new code is called in sbin/init, which has a different
context.
Can the following sbin/init code be moved to
lib/debian-installer.d/S30term?
if [ $TERM_TYPE = "serial" ]; then
for i in 2 3 4 5; do
rm -f /dev/vc/$i
done
fi
This seems to solve the detection problem for me.
Do you really need to delete the extra vc devices?
--
Stephen R. Marenka If life's not fun, you're not doing it right!
<[EMAIL PROTECTED]>
signature.asc
Description: Digital signature

