rc and file format
walter harms
wharms at bfs.de
Thu Sep 21 13:30:22 UTC 2006
hi katey,
1. ls
what you see are console codes (man console_codes).
you application test the shell: "I am a XY Terminal"
and the shell login shell adjust the codes for color settting
etc. accordingly. you application is not interpreting the codes,
result:
[1;34mbin[0m
(very short, very simple, partly misleading description beware!)
2. init
init used inittab to find out what to do next. (man 5 inittab).
the question is WHEN do you want your script running ?
ONE solution is:
rc::bootwait:/etc/rc
please note that bb-init does not support runlevels!
re,
wh
Katey Yu wrote:
> Hi
>
>
>
> When I boot up and run application "ls" the form is not correct. Could
> you somebody tell me what's wrong?
>
> Another issue is how to set init for running /etc/rc in busybox?
>
>
>
>
>
> Thanks,
>
> Katey
>
> ..............
>
> init started: BusyBox v1.00-pre5 (2006.09.20-15:16+0000) multi-call
> binary
>
>
>
>
>
> Please press Enter to activate this console.
>
>
>
>
>
> BusyBox v1.00-pre5 (2006.09.20-15:16+0000) Built-in shell (msh)
>
> Enter 'help' for a list of built-in commands.
>
>
>
> # ls
>
> [1;34mbin[0m [1;34mdev[0m [1;34metc[0m [1;36mlinuxrc[0m
> [1;34mproc[0m [1;34msbin[0m
>
> [1;34musr[0m [1;34mvar[0m
>
> #
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/cgi-bin/mailman/listinfo/busybox
More information about the busybox
mailing list