# /bin/sh invocations on selected ttys
#
# Note below that we prefix the shell commands with a "-" to indicate to the
# shell that it is supposed to be a login shell. Normally this is handled by
# login, but since we are bypassing login in this case, BusyBox lets you do
# this yourself...
#
# Start an "askfirst" shell on the console (whatever that may be)
#::askfirst:-/bin/sh
# Start an "askfirst" shell on /dev/tty2-4
#tty2::askfirst:-/bin/sh
#tty3::askfirst:-/bin/sh
#tty4::askfirst:-/bin/sh
since no TTY is listed its going to go to the /dev/console device with is redirected to ttys0 in the ramdisk dev directory.
I swear there was some place in one of the startup files that i looked in (i think it was /etc/profile) that checks for /dos/bash in order to really give you a shell.. I think that will keep us from having true shell access until we get a bash exe in place.
Yup, its in /etc/profile. here's what it says:
export LD_LIBRARY_PATH=/dos/lib
export PATH=$PATH:/dos/bin:/dos/sbin:/dos
export TERMINFO=/dos/share/terminfo
export TERM=vt100
if [ -e /dos/bin/bash ] && [ -e /dos/conf/profile ]; then
exec /dos/bin/bash -rcfile /dos/conf/profile
fi
so I copied busy boxfrom the ramdisk to /dos/bin as "bash" and I created a empty profile in /dos/conf/.
I still get nothing on the serial port.
My guess is that bash needs to be signed like all the other executables.
The other thought I had was will the kernal write to a log file? I tried creating /dos/log and /dos/var/log.
RdeR