tags 272657 + patch
thanks

I believe this patch solve this issue, by documenting the supported
telinit options both in the usage information and the manual page.

While reading the source, I found support for an -e option as well, to
set the environment.  Not quite sure what it is useful for, so I did
not add a longer description to the manual page, just noted its
existence.

Index: src/init.c
===================================================================
--- src/init.c  (revisjon 70)
+++ src/init.c  (arbeidskopi)
@@ -2495,7 +2495,7 @@
  */
 void usage(char *s)
 {
-       fprintf(stderr, "Usage: %s 0123456SsQqAaBbCcUu\n", s);
+       fprintf(stderr, "Usage: %s [-e env ] [-t seconds] 
0123456SsQqAaBbCcUu\n",s);
        exit(1);
 }

Index: man/init.8
===================================================================
--- man/init.8  (revisjon 70)
+++ man/init.8  (arbeidskopi)
@@ -16,6 +16,7 @@
 .RB [ " 0123456Ss " ]
 .br
 .B /sbin/telinit
+.RB [ " \-e env " ]
 .RB [ " \-t sec " ]
 .RB [ " 0123456sSQqabcUu " ]
 .\"}}}


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to