aboutsummaryrefslogtreecommitdiff
path: root/src/pies.h
diff options
context:
space:
mode:
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)
downloadpies-27366c475aa4955f296f169cf9acd33e36b9d7b3.tar.gz
pies-27366c475aa4955f296f169cf9acd33e36b9d7b3.tar.bz2
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')
-rw-r--r--src/pies.h2
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;
extern int init_process;
extern char *console_device;
extern int initdefault;
-extern int dfl_level;
extern size_t pies_master_argc;
extern char **pies_master_argv;
@@ -523,6 +522,7 @@ void sysvinit_power (void);
void sysvinit_report (struct json_value *obj);
int sysvinit_set_runlevel (int newlevel);
+void sysvinit_parse_argv (int argc, char **argv);
extern char *sysvinit_environ_hint[];
extern char *init_fifo;

Return to:

Send suggestions and report system problems to the System administrator.