~vorlon/ubuntu/raring/upstart/lp.1199778

« back to all changes in this revision

Viewing changes to util/initctl.c

  • Committer: Scott James Remnant
  • Date: 2007-02-08 02:57:56 UTC
  • Revision ID: scott@netsplit.com-20070208025756-gjlxck51xjzg1m22
* upstart/message.h: Remove the UPSTART_SHUTDOWN message.
* upstart/message.c (upstart_message_new, upstart_message_handle):
Remove handling for the shutdown message.
* upstart/tests/test_message.c (test_new, test_handle): Remove
tests against the shutdown message.
* init/control.c (control_shutdown): Remove the shutdown command
from the server.
* init/tests/test_control.c (test_shutdown): Remove tests for it.
* init/event.h: Remove the shutdown event.
* util/initctl.c: Remove the shutdown command reference.
* util/events.c (shutdown_action): Remove the command.
* util/events.h: Update.
* util/tests/test_events.c (test_shutdown_action): Remove tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
        NIH_OPTION_LAST
118
118
};
119
119
 
120
 
/**
121
 
 * shutdown_options:
122
 
 *
123
 
 * Command-line options accepted for shutdown command.
124
 
 **/
125
 
NihOption shutdown_options[] = {
126
 
        NIH_OPTION_LAST
127
 
};
128
 
 
129
120
 
130
121
/**
131
122
 * job_group:
194
185
          NULL,
195
186
          &event_commands, events_options, events_action },
196
187
 
197
 
        { "shutdown", N_("EVENT"),
198
 
          N_("Emit a shutdown event."),
199
 
          N_("EVENT is the name of an event the init daemon should emit "
200
 
             "after the shutdown event has been emitted."),
201
 
          &event_commands, shutdown_options, shutdown_action },
202
 
 
203
188
        NIH_COMMAND_LAST
204
189
};
205
190