add two new commands, reboot and halt.
13 files changed