diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -21,7 +21,8 @@ #include <shell.h> #include <users.h> #include <power_commands.h> -#include <d_bus.h> +#include <host_commands.h> + char *progname; /* The name of this program, as taken from argv[0]. */ int done; /* When non-zero, this global means the user is done using this program. */ @@ -162,6 +163,7 @@ COMMAND server_admin_list[] = { { "?", com_help, "Synonym for `help'" }, { "power", com_power, "Return to top menu" }, { "restore-policy", com_power_policy, "Set power restore policy" }, + { "boot", com_boot, "Set host boot options" }, { "..", com_top, "Return to top menu" }, { "quit", com_quit, "Quit using SILA Shell" }, { (char *)NULL, (rl_icpfunc_t *)NULL, (char *)NULL } @@ -172,6 +174,7 @@ COMMAND server_operator_list[] = { { "?", com_help, "Synonym for `help'" }, { "power", com_power, "Run on/off/reset" }, { "restore-policy", com_power_policy, "Set power restore policy" }, + { "boot", com_boot, "Set host boot options" }, { "..", com_top, "Return to top menu" }, { "quit", com_quit, "Quit using SILA Shell" }, { (char *)NULL, (rl_icpfunc_t *)NULL, (char *)NULL } @@ -182,11 +185,13 @@ COMMAND server_user_list[] = { { "?", com_help, "Synonym for `help'" }, { "power", com_power, "Return to top menu" }, { "restore-policy", com_power_policy, "Set power restore policy" }, + { "boot", com_boot, "Set host boot options" }, { "..", com_top, "Return to top menu" }, { "quit", com_quit, "Quit using SILA Shell" }, { (char *)NULL, (rl_icpfunc_t *)NULL, (char *)NULL } }; + COMMAND_LIST server = {"server", NULL}; COMMAND_LIST *current; |