systemctl: added soft-reboot command (#2716)

This commit is contained in:
Saurabh Kushwah 2025-02-26 22:56:55 +05:30 committed by GitHub
parent b2ff49884d
commit 680d1ecd1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,19 @@
package cmd
import (
"github.com/carapace-sh/carapace"
"github.com/spf13/cobra"
)
var softRebootCmd = &cobra.Command{
Use: "soft-reboot",
Short: "Shut down and reboot userspace",
GroupID: "system",
Run: func(cmd *cobra.Command, args []string) {},
}
func init() {
carapace.Gen(softRebootCmd).Standalone()
rootCmd.AddCommand(softRebootCmd)
}