path: root/src/pies.h
authorSergey Poznyakoff <>2016-03-06 13:25:06 (GMT)
committer Sergey Poznyakoff <>2016-03-06 13:27:39 (GMT)
commit1a37a444eea3d238e45d01d47ac157b470f536ac (patch) (side-by-side diff)
tree5a992298b9cdc93c31ffce6a7db302670e8eb0b9 /src/pies.h
parentad5bd6e401657b9cb0fed04d15cdc6feeef91e15 (diff)
Reimplement the telinit legacy interface.
pies -T is now fully compatible with the legacy telinit command * src/telinit.opt: New file. * src/ Add telinit.opt * src/cmdline.opt (-T): Remove explicit variable. Rest of command line is processed specially. * src/pies.h (telinit): Change prototype. * src/sysvinit.c (telinit): Rewrite. * src/.gitignore: Update. * doc/pies.texi: Document telinit.
Diffstat (limited to 'src/pies.h') (more/less context) (ignore whitespace changes)
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pies.h b/src/pies.h
index 4eb2aca..b0cc746 100644
--- a/src/pies.h
+++ b/src/pies.h
@@ -535,7 +535,7 @@ void sysvinit_begin (void);
int is_comp_wait (struct component *comp);
int is_valid_runlevel (int c);
int console_open (int mode);
-int telinit (const char *arg);
+int telinit (int argc, char **argv);
int inittab_parse (const char *file);
int sysvinit_sigtrans (int sig, int *pact);
void sysvinit_runlevel_setup (int mask);

Return to:

Send suggestions and report system problems to the System administrator.