diff options
author | Ian Moffett <ian@osmora.org> | 2025-05-31 17:17:57 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-05-31 17:17:57 -0400 |
commit | 65024f230dd030f2f10c155f63b1d374aac00f86 (patch) | |
tree | 6365c025fc880f9b262684b03272419ed3c80eeb /usr.bin/osh | |
parent | 19497ac00ceb8e225ce7008df26024d4c6a1d2b9 (diff) |
usr.bin: Add simple `fetch' program
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.bin/osh')
-rw-r--r-- | usr.bin/osh/osh.c | 2 |
1 files changed, 2 insertions, 0 deletions
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} }; |