diff options
| author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-12-10 13:40:16 +0000 |
|---|---|---|
| committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-12-10 13:40:16 +0000 |
| commit | 32f3ebf08f1c3fbd7279cb031efc87a9ddfa5502 (patch) | |
| tree | 15bfe0d56f0427a46cedaf9c767d31cfe98216f1 /docs | |
| parent | 2ea630f9a50b439181aedb0a5d837d319deed9f5 (diff) | |
| download | busybox-w32-32f3ebf08f1c3fbd7279cb031efc87a9ddfa5502.tar.gz busybox-w32-32f3ebf08f1c3fbd7279cb031efc87a9ddfa5502.tar.bz2 busybox-w32-32f3ebf08f1c3fbd7279cb031efc87a9ddfa5502.zip | |
- add an anchor to let me point people to FAQ.html#standalone_shell
easily.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/busybox.net/FAQ.html | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/docs/busybox.net/FAQ.html b/docs/busybox.net/FAQ.html index 4501fd0a0..c751f7521 100644 --- a/docs/busybox.net/FAQ.html +++ b/docs/busybox.net/FAQ.html | |||
| @@ -82,7 +82,8 @@ have additions to this FAQ document, we would love to add them, | |||
| 82 | to determine which applet to run, as shown above. | 82 | to determine which applet to run, as shown above. |
| 83 | </p> | 83 | </p> |
| 84 | <p> | 84 | <p> |
| 85 | BusyBox also has a feature called the "standalone shell", where the busybox | 85 | BusyBox also has a feature called the |
| 86 | <a name="standalone_shell">"standalone shell"</a>, where the busybox | ||
| 86 | shell runs any built-in applets before checking the command path. This | 87 | shell runs any built-in applets before checking the command path. This |
| 87 | feature is also enabled by "make allyesconfig", and to try it out run | 88 | feature is also enabled by "make allyesconfig", and to try it out run |
| 88 | the command line "PATH= ./busybox ash". This will blank your command path | 89 | the command line "PATH= ./busybox ash". This will blank your command path |
| @@ -96,7 +97,15 @@ have additions to this FAQ document, we would love to add them, | |||
| 96 | (So if you set it to /proc/self/exe, and happen to be able to chroot into | 97 | (So if you set it to /proc/self/exe, and happen to be able to chroot into |
| 97 | your rootfs, you must mount /proc beforehand.) | 98 | your rootfs, you must mount /proc beforehand.) |
| 98 | </p> | 99 | </p> |
| 99 | 100 | <p> | |
| 101 | A typical indication that you set CONFIG_BUSYBOX_EXEC_PATH to proc but | ||
| 102 | forgot to mount proc is: | ||
| 103 | <pre> | ||
| 104 | $ /bin/echo $PATH | ||
| 105 | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 | ||
| 106 | $ echo $PATH | ||
| 107 | /bin/sh: echo: not found | ||
| 108 | </pre> | ||
| 100 | <hr /> | 109 | <hr /> |
| 101 | <p> | 110 | <p> |
| 102 | <h2><a name="configure">How do I configure busybox?</a></h2> | 111 | <h2><a name="configure">How do I configure busybox?</a></h2> |
