summaryrefslogtreecommitdiff
path: root/Source/Applications/Shell/Applets/halt.cpp
blob: d7dedefb109a17911874efbd4316e5b73793d8a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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);