summaryrefslogtreecommitdiff
path: root/Source/Applications/Shell/Applets/reboot.cpp
blob: de97fe61e34649ae5011d722696462adff05ae7f (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 reboot : public ShellApp {
	public:
	reboot() : ShellApp("reboot", "Reboot the system") {}
	int run() {
		outvt << "Reboot system...\n";
		Sys::reboot();
	}
};

APP(reboot);