diff options
author | msmith <msmith@FreeBSD.org> | 1998-09-18 02:01:38 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1998-09-18 02:01:38 +0000 |
commit | ef33b3f0949d3bd0210b15d184b66f12ee8735bc (patch) | |
tree | 0ee43388fb41666176de96ed91f197354a0f6c1b /sys/boot/common/commands.c | |
parent | 757180a4cff5eb22b6469ea415ea7440a47bb533 (diff) | |
download | FreeBSD-src-ef33b3f0949d3bd0210b15d184b66f12ee8735bc.zip FreeBSD-src-ef33b3f0949d3bd0210b15d184b66f12ee8735bc.tar.gz |
Remove 'panic' command (it works), don't ask for a keypress in panic, as
exit() does. Perhaps it shouldn't?
Diffstat (limited to 'sys/boot/common/commands.c')
-rw-r--r-- | sys/boot/common/commands.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/boot/common/commands.c b/sys/boot/common/commands.c index 8ed140a..e7b6725 100644 --- a/sys/boot/common/commands.c +++ b/sys/boot/common/commands.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: commands.c,v 1.1.1.1 1998/08/21 03:17:41 msmith Exp $ + * $Id: commands.c,v 1.2 1998/09/03 02:10:07 msmith Exp $ */ #include <stand.h> @@ -143,17 +143,6 @@ command_unset(int argc, char *argv[]) return(CMD_OK); } -COMMAND_SET(panic, "panic", "test panic", command_panic); - -static int -command_panic(int argc, char *argv[]) -{ - char *cp; - - cp = unargv(argc - 1, argv + 1); - panic(cp); -} - COMMAND_SET(echo, "echo", NULL, command_echo); static int |