mirror of
https://github.com/rancher/os.git
synced 2025-09-01 14:48:55 +00:00
reboot --kexec almost works
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
12
main.go
12
main.go
@@ -29,19 +29,21 @@ var entrypoints = map[string]func(){
|
||||
"console.sh": control.ConsoleInitMain,
|
||||
"docker": docker.Main,
|
||||
"dockerlaunch": dfs.Main,
|
||||
"halt": power.Halt,
|
||||
"init": osInit.MainInit,
|
||||
"netconf": network.Main,
|
||||
"poweroff": power.Off,
|
||||
"reboot": power.Reboot,
|
||||
"respawn": respawn.Main,
|
||||
"ros-sysinit": sysinit.Main,
|
||||
"shutdown": power.Main,
|
||||
"system-docker": systemdocker.Main,
|
||||
"wait-for-docker": wait.Main,
|
||||
"cni-glue": glue.Main,
|
||||
"bridge": bridge.Main,
|
||||
"host-local": hostlocal.Main,
|
||||
"respawn": respawn.Main,
|
||||
|
||||
// Power commands
|
||||
"halt": power.Shutdown,
|
||||
"poweroff": power.Shutdown,
|
||||
"reboot": power.Shutdown,
|
||||
"shutdown": power.Shutdown,
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
Reference in New Issue
Block a user