|
Shell from inittab: msg#00252linux.busybox
Sorry that I'm posting this again, but somehow I managed to send it without a subject field the first time. Hello. I am running busybox built on uClibc and I am trying to get a script running on boot. My inittab file is as follows: ::once:/sbin/insmod /pic/TMmodule.o ::once:/bin/mount -t proc proc /proc #::once:/etc/check_flash ::respawn:-/bin/msh and then I start my applications from /etc/profile Somehow /etc/profile runs twice At the moment my /etc/profile lookes like this: if tty -s then echo PROFILE ........ TERM=vt100 export TERM PATH=/sbin:$PATH:/Taxi export PATH LOGICAB_ROOT=/LogiCab QTDIR=/LogiCab/resources/qt export LOGICAB_ROOT QTDIR cd /LogiCab/bin if test -f /LogiCab/bin/auto then /LogiCab/bin/lcstarter & fi fi In most cases it is sufficent to test if we got a controlling terminal and if not then don't start the application. But sometimes the application starts twice, the first time without any output to the terminal. Can anybody explain this to me and show me how this could be done better. (getty is not an option as this is an embedded system). Hope for the best Gusti -- Agust Karlsson mailto:gusti@xxxxxxxxx Pallas Informatik A/S http://www.pallas.dk Allerød Stationsvej 2D Tel.: +45 48 10 24 10 DK-3450 Allerød Fax.: +45 48 10 24 01 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | hdparm and CONFIG_FEATURE_HDPARM_HDIO_GET_DMA ?: 00252, Steven Scholz |
|---|---|
| Next by Date: | compiling strace using buildroot for mipsel: 00252, Tony Saladino |
| Previous by Thread: | hdparm and CONFIG_FEATURE_HDPARM_HDIO_GET_DMA ?i: 00252, Steven Scholz |
| Next by Thread: | compiling strace using buildroot for mipsel: 00252, Tony Saladino |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |