From 13ea0c85cfe0c7b9880d5ddf2abe6409cedf9f22 Mon Sep 17 00:00:00 2001 From: kx Date: Wed, 28 Sep 2022 19:18:07 +0300 Subject: Poweroff command for admin user --- src/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index d00230e..19474de 100644 --- a/src/main.c +++ b/src/main.c @@ -71,6 +71,7 @@ COMMAND shell_admin_list[] = { { "stat", com_stat, "Print out statistics on FILE" }, { "more", com_more, "View the contents of FILE" }, { "vi", com_vi, "Edit the contents of text FILE" }, + { "poweroff", com_poweroff, "Turn off the BMC power" }, { "..", com_top, "Return to top menu" }, { (char *)NULL, (rl_icpfunc_t *)NULL, (char *)NULL } }; -- cgit v1.2.3