aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/init/mshell.c
AgeCommit message (Collapse)Author
2024-05-28init: mshell: Better command parsingoldAptRock327
Commands are now parsed by checking whether a corresponding function exists using a command structure array. Signed-off-by: AptRock327 <dominik032009@gmail.com> Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-24init: mshell: Remove useless length checkIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23init: mshell: Allow reading from /proc/interruptsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23init: mshell: Don't use newline in print_file()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23init: Add 'kversion' and 'memstat' commandsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23init: mshell: Handle empty commandsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-22init: Add maintenance shellIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>