diff options
author | Chris Johns <chrisj@rtems.org> | 2016-05-06 15:06:08 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2016-05-06 15:07:56 +1000 |
commit | 83eb07c4d64d5acef6813bc6ce0b014ed0d6026d (patch) | |
tree | 730b2ad8981dce791cd68625a25614e937962902 /rtemsbsd/rtems | |
parent | Fix sysctl support. (diff) | |
download | rtems-libbsd-83eb07c4d64d5acef6813bc6ce0b014ed0d6026d.tar.bz2 |
Add sbin/sysctl
Diffstat (limited to 'rtemsbsd/rtems')
-rw-r--r-- | rtemsbsd/rtems/rtems-bsd-shell-netcmds.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/rtemsbsd/rtems/rtems-bsd-shell-netcmds.c b/rtemsbsd/rtems/rtems-bsd-shell-netcmds.c index e6eea024..1271ff36 100644 --- a/rtemsbsd/rtems/rtems-bsd-shell-netcmds.c +++ b/rtemsbsd/rtems/rtems-bsd-shell-netcmds.c @@ -54,3 +54,12 @@ rtems_shell_cmd_t rtems_shell_TCPDUMP_Command = { NULL, /* alias */ NULL /* next */ }; + +rtems_shell_cmd_t rtems_shell_SYSCTL_Command = { + "sysctl", /* name */ + "sysctl [-bdehiNnoRTqx] [-f filename] name[=value] ...", /* usage */ + "net", /* topic */ + rtems_bsd_command_sysctl, /* command */ + NULL, /* alias */ + NULL /* next */ +}; |