From 65024f230dd030f2f10c155f63b1d374aac00f86 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 31 May 2025 17:17:57 -0400 Subject: usr.bin: Add simple `fetch' program Signed-off-by: Ian Moffett --- usr.bin/osh/osh.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr.bin/osh/osh.c') diff --git a/usr.bin/osh/osh.c b/usr.bin/osh/osh.c index 4e16463..583f29a 100644 --- a/usr.bin/osh/osh.c +++ b/usr.bin/osh/osh.c @@ -51,6 +51,7 @@ "reboot - Reboot the machine\n" \ "shutdown - Power off the machine\n" \ "kmsg - Print kernel message buffer\n" \ + "fetch - System information\n" \ "exit - Exit the shell\n" #define PROMPT "[root::osmora]~ " @@ -188,6 +189,7 @@ struct command cmds[] = { {"reboot", NULL, cmd_reboot}, {"shutdown", NULL, cmd_shutdown}, {"kmsg", "/usr/bin/kmsg", NULL}, + {"fetch", "/usr/bin/fetch", NULL}, {NULL, NULL} }; -- cgit v1.2.3