summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorkx <kx@radix.pro>2022-09-28 19:18:07 +0300
committerkx <kx@radix.pro>2022-09-28 19:18:07 +0300
commit13ea0c85cfe0c7b9880d5ddf2abe6409cedf9f22 (patch)
tree7f16c61750ef4e79866c1e89394cd925f62cc873 /src/main.c
parente395700cd3900e8d91a6e2bbc09f5e9b24437d30 (diff)
downloadsila-shell-13ea0c85cfe0c7b9880d5ddf2abe6409cedf9f22.tar.xz
Poweroff command for admin user
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
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 }
};