Проблема с Busybox
Пользователи, просматривающие топик: none
|
Зашли как: Guest
|
Имя |
Сообщение |
<< Старые топики Новые топики >> |
|
|
Проблема с Busybox - 2009-08-06 16:33:10.753333
|
|
|
NorthernCat
Сообщений: 2
Оценки: 0
Присоединился: 2009-08-06 16:20:45.590000
|
Есть бездисковый терминал с busybox'ом, при загрузке постоянно получаю варнинг: /bin/sh: can't access tty; job control turned off Может кто сталкивался, как это пофиксить?
|
|
|
RE: Проблема с Busybox - 2009-08-08 01:22:46.303333
|
|
|
AdReNaL1Ne
Сообщений: 8027
Оценки: 350
Присоединился: 2005-09-11 06:38:05
|
quote:
Why do I keep getting "sh: can't access tty; job control turned off" errors? Why doesn't Control-C work within my shell?[blockquote] Job control will be turned off since your shell can not obtain a controlling terminal. This typically happens when you run your shell on /dev/console. The kernel will not provide a controlling terminal on the /dev/console device. Your should run your shell on a normal tty such as tty1 or ttyS0 and everything will work perfectly. If you REALLY want your shell to run on /dev/console, then you can hack your kernel (if you are into that sortof thing) by changing drivers/char/tty_io.c to change the lines where it sets "noctty = 1;" to instead set it to "0". [/blockquote] © Не-помню-где
|
|
|
RE: Проблема с Busybox - 2009-08-11 19:09:42.473333
|
|
|
NorthernCat
Сообщений: 2
Оценки: 0
Присоединился: 2009-08-06 16:20:45.590000
|
Спасибо! Решение нашлось :-), прописал в скрипте init /sbin/getty 38400 tty1
|
|
|
|
|