--- In "chemostereman" <> wrote:
>
> Hello all,
>
> I have a program called keypad.x stored in my root directory. This program
> reads information from a file called commands.txt.
>
> I created a runlevel 3 script so the process could be put in the background
> during boot and stored it in the /etc/init.d/ and made a soft link to the
> rc3.d folder.
>
> #!/bin/sh
> /root/keypad.x &
>
> I can run the program if I log into the board, and I can also run the program
> from startup in the back ground if I do not read from commands.txt
>
> I have changed the permission of the file to chmod 777, 666 etc and I am
> using getc to read from the file. The file is important because it is a save.
>
> When I log into the box via telnet and run ps -x i do not see the process and
> if I use the serial bus I can see the the startup script is hanging only when
> I use the verison of keypad.x that reads from the file.
>
> I have also tried to change the ownership via chown.
>
> Any help?
>
Never mind just put an absolute reference in keypad.x /root/commands.txt
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|