1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 06:40:31 +00:00

add shutdown command

This commit is contained in:
sidharthamani
2015-02-22 21:07:59 -08:00
parent d2dd4db6b1
commit 8181e2633a
3 changed files with 51 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ func main() {
registerCmd("/sbin/poweroff", power.PowerOff)
registerCmd("/sbin/reboot", power.Reboot)
registerCmd("/sbin/halt", power.Halt)
registerCmd("/sbin/shutdown", power.Main)
registerCmd("/usr/bin/respawn", respawn.Main)
registerCmd("/usr/sbin/rancherctl", control.Main)
registerCmd("/usr/bin/cloud-init", cloudinit.Main)