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:
1
main.go
1
main.go
@@ -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)
|
||||
|
Reference in New Issue
Block a user