PDA

View Full Version : oooops!!


zabs
12-03-2002, 02:37 AM
quick question:

I have been having a hard time getting noscramble to load on boot....so I put a line in rc.sysinit to see if/when my insmod line was being reached. it looked something like this:

echo module > /etc/ttyS3
/sbin/insmod /var/hack/noscramble.o

Now on boot I do see module get echo'ed to my terminal, but I am then no longer able to type (the terminal is locked.) Anybody know whats going on? Can it be fixed without pulling the hard drive?

zabs
12-03-2002, 03:03 AM
Fixed!! almost forgot, I had put a sleep 10 in just before my echo to the terminal. Just enough time to get in, remove the line from rc.sysinit, and restart the tivo, before it could execute the echo.
Damn I'm smooth. :)

Still curious as to why that echo line killed my terminal. Anybody have any ideas?

BubbleLamp
12-03-2002, 04:08 AM
Just a guess, but what if you did

echo module > /etc/ttyS3 &

DarkWing
12-03-2002, 04:34 AM
Or even better:

echo "module" > /etc/ttyS3 &

I think it's the lack of quotes that's the problem.

zabs
12-03-2002, 05:12 AM
it should be ok without the double quotes....only complex content (ie. characters that would be interpreted by bash) would require the double quotes.

BL may have it once again....echo possibly never ending and thus never giving me back the serial device. Just not brave enough (also a bit lazy) to try putting it in the background. Oddly enough noscramble now seems to be loading on boot....so the problem is solved on all levels.