[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [BusyBox] usage.h chroot patch
From:       kent robotti <robotti () metconnect ! com>
Date:       2001-02-26 13:19:26
[Download RAW message or body]

--- usage.h.orig        Sat Feb 24 18:55:06 2001
+++ usage.h     Mon Feb 26 13:03:58 2001
@@ -45,8 +45,17 @@

 #define chroot_trivial_usage \
        "NEWROOT [COMMAND...]"
+#ifdef BB_SH
 #define chroot_full_usage \
-       "Run COMMAND with root directory set to NEWROOT."
+       "Run COMMAND with root directory set to NEWROOT.\n\n" \
+        "If no COMMAND is given, chroot runs the busybox builtin shell."
+#else
+#define chroot_full_usage \
+       "Run COMMAND with root directory set to NEWROOT.\n\n" \
+        "If no COMMAND is given, chroot runs an interactive shell.\n" \
+        "The `SHELL' environment variable specifies the shell program;\n" \
+        "the default is /bin/sh."
+#endif

 #define chvt_trivial_usage \
        "N"





[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic