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
@@ -293,3 +293,2 @@ extern char *console_device;
extern int initdefault;
-extern int dfl_level;
@@ -525,2 +524,3 @@ void sysvinit_report (struct json_value *obj);
int sysvinit_set_runlevel (int newlevel);
+void sysvinit_parse_argv (int argc, char **argv);

Return to:

Send suggestions and report system problems to the System administrator.