Re: [iPAQ] Boot prompt on ipaq... Help needed

From: Sridharan Subramanian <rat701.a.t.email.sps.mot.com>
Date: Mon Feb 26 2001 - 15:47:37 EST

I am running the microwindows in the background (with an &). But I still am
not getting the login root.

Tomasz, I do have getty in my /etc/inittab,:
TO:23:respawn:/sbin/getty -L ttySA0 115200 vt100

My start up script (under init.d) has the following code (only the start,
stop and status parts shown):

start)
        echo -n "Starting Nano-X:"
        if [ -s /var/run/nanox.pid ] && \
         kill -0 `cat /var/run/nanox.pid` 2>/dev/null ; then
            echo " Nano-X is already running."
 else
     echo " Nano-X"
     irattach /dev/ttyS2
     nano-X -p -e &
     nxkbd &
     nxterm &
     nanowm &
 fi
    ;;

    stop)
        echo -n "Shutting down Nano-X:"
        PID=`cat /var/run/nanox.pid`
        kill $PID
        echo -n " Nano-X"
        echo "."
        EXITCODE=0
        ;;

    status)
        pid=`pidof nano-X`
        if [ "$pid" != "" ] ; then
            echo "Nano-X (pid $pid) is running..."
            EXITCODE=0
        else
            echo "Nano-X is stopped"
            EXITCODE=3
        fi
        ;;

Any advise appreciated.

Thanks.

"Alexander S. Guy" wrote:

> On Mon, Feb 26, 2001 at 11:45:17AM -0600, Sridharan Subramanian wrote:
>
> [snip]
>
> > Is it a problem in my startup scripts or kernel or microwindows
> > compilation?
>
> It's probably your startup scripts.. How are you starting up microwindows?
> Are you making sure to background it?
>
> Alexander
Received on Mon Feb 26 12:55:42 2001

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:55 EDT