diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2016-03-06 15:25:06 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2016-03-06 15:27:39 +0200 |
commit | 1a37a444eea3d238e45d01d47ac157b470f536ac (patch) | |
tree | 5a992298b9cdc93c31ffce6a7db302670e8eb0b9 /src/pies.h | |
parent | ad5bd6e401657b9cb0fed04d15cdc6feeef91e15 (diff) | |
download | pies-1a37a444eea3d238e45d01d47ac157b470f536ac.tar.gz pies-1a37a444eea3d238e45d01d47ac157b470f536ac.tar.bz2 |
Reimplement the telinit legacy interface.
pies -T is now fully compatible with the legacy telinit command
* src/telinit.opt: New file.
* src/Makefile.am: 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')
-rw-r--r-- | src/pies.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -537,3 +537,3 @@ 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); |