blob: d7dedefb109a17911874efbd4316e5b73793d8a6 (
plain) (
tree)
|
|
#include <App/ShellApp.proto.h>
#include <Binding/Sys.ns.h>
class halt : public ShellApp {
public:
halt() : ShellApp("halt", "Halt the system") {}
int run() {
outvt << "Halting system...\n";
Sys::halt();
}
};
APP(halt);
|