aboutsummaryrefslogtreecommitdiff
path: root/src/pies.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pies.c')
-rw-r--r--src/pies.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/pies.c b/src/pies.c
index ded1a10..142b7f9 100644
--- a/src/pies.c
+++ b/src/pies.c
@@ -39,8 +39,6 @@ enum pies_command {
};
enum pies_command command;
-int initdefault; /* Default runlevel */
-int dfl_level;
char *statedir = DEFAULT_STATE_DIR;
char *instance;
char *pidfile;
@@ -834,6 +832,17 @@ static struct tokendef modetab[] = {
{"nostartaccept", pies_comp_inetd},
{"pass-fd", pies_comp_pass_fd},
{"pass", pies_comp_pass_fd},
+ {"boot", pies_comp_boot},
+ {"bootwait", pies_comp_boot},
+ {"powerfail", pies_comp_powerfail},
+ {"powerwait", pies_comp_powerwait},
+ {"powerokwait", pies_comp_powerokwait},
+ {"ctrlaltdel", pies_comp_ctrlaltdel},
+ {"ondemand", pies_comp_ondemand},
+ {"sysinit", pies_comp_sysinit},
+ {"powerfailnow", pies_comp_powerfailnow},
+ {"kbrequest", pies_comp_kbrequest},
+
{NULL}
};
@@ -2132,15 +2141,6 @@ set_console_dev ()
console_device = "/dev/null";
}
-static void
-inittrans ()
-{
- if (progman_running_p ())
- /* Noting to do if there are processes left in the previous runlevel */
- return;
-
-}
-
int
main (int argc, char **argv)
{

Return to:

Send suggestions and report system problems to the System administrator.