blob: b86d314f56f8036d171bcf684cd1587ccad38b9f [file] [log] [blame]
package main
import (
"context"
"fmt"
"time"
"golang.org/x/sys/unix"
"source.monogon.dev/osbase/bringup"
)
func main() {
bringup.Runnable(func(ctx context.Context) error {
fmt.Println("_BRINGUP_LAUNCH_SUCCESS_")
time.Sleep(5 * time.Second)
unix.Reboot(unix.LINUX_REBOOT_CMD_POWER_OFF)
return nil
}).Run()
}