blob: e7bbc39199c80e421e0d46d5ffc43be4b17a2d92 [file] [log] [blame]
// Copyright The Monogon Project Authors.
// SPDX-License-Identifier: Apache-2.0
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()
}