path: root/src/pies.h
diff options
authorSergey Poznyakoff <gray@gnu.org>2016-02-15 22:24:04 +0200
committerSergey Poznyakoff <gray@gnu.org>2016-02-15 22:24:04 +0200
commit27366c475aa4955f296f169cf9acd33e36b9d7b3 (patch)
tree3e09f2ae80c423ccd2a0a2929852be3560cb1d2b /src/pies.h
parent0a5eb4f65a20d37f2051dce8816485dd219fb735 (diff)
Implement emergency shell.
* src/pies.c (main): Move init-specific command line handling to sysvinit_parse_argv. * src/pies.h (dfl_level): Remove extern. (sysvinit_parse_argv): New proto. * src/sysvinit.c (sysvinit_parse_argv): New function. (sysvinit_begin): Start emergency shell, if requested.
Diffstat (limited to 'src/pies.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pies.h b/src/pies.h
index bcce32a..4a6160f 100644
--- a/src/pies.h
+++ b/src/pies.h
@@ -291,7 +291,6 @@ extern char *qotdfile;
291extern int init_process; 291extern int init_process;
292extern char *console_device; 292extern char *console_device;
293extern int initdefault; 293extern int initdefault;
294extern int dfl_level;
295 294
296extern size_t pies_master_argc; 295extern size_t pies_master_argc;
297extern char **pies_master_argv; 296extern char **pies_master_argv;
@@ -523,6 +522,7 @@ void sysvinit_power (void);
523 522
524void sysvinit_report (struct json_value *obj); 523void sysvinit_report (struct json_value *obj);
525int sysvinit_set_runlevel (int newlevel); 524int sysvinit_set_runlevel (int newlevel);
525void sysvinit_parse_argv (int argc, char **argv);
526 526
527extern char *sysvinit_environ_hint[]; 527extern char *sysvinit_environ_hint[];
528extern char *init_fifo; 528extern char *init_fifo;

Return to:

Send suggestions and report system problems to the System administrator.