diff --git a/shell/Config.in b/shell/Config.in
index 3b16506..78a9677 100644
--- a/shell/Config.in
+++ b/shell/Config.in
@@ -354,9 +354,14 @@ config CTTYHACK
          It analyzes stdin with various ioctls, trying to determine whether
          it is a /dev/ttyN or /dev/ttySN (virtual terminal or serial line).
          If it detects one, it closes stdin/out/err and reopens that device.
-         Then it executes given program. Usage example for /etc/inittab
-         (for busybox init):
+         Then it executes given program.
+
+         Usage example for /etc/inittab (for busybox init):

          ::respawn:/bin/cttyhack /bin/sh

+         For boot shell script:
+
+         setsid cttyhack sh
+
 endmenu


-- 
Constantine Shulyupin
Embedded Linux Expert
TI DaVinci Expert
Tel-Aviv Israel
http://www.LinuxDriver.co.il/
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to