From 1569a65f375fe097169b34aee7bf76bb392187ed Mon Sep 17 00:00:00 2001 From: pyr Date: Thu, 1 Feb 2007 20:03:38 +0000 Subject: add a monitor mode to hoststatectl to continuously report changes in hoststated. ok reyk@, "looks nice and clean" niallo@ --- usr.sbin/relayctl/parser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/relayctl/parser.c') diff --git a/usr.sbin/relayctl/parser.c b/usr.sbin/relayctl/parser.c index aca5a16c9e9..3347f2639f0 100644 --- a/usr.sbin/relayctl/parser.c +++ b/usr.sbin/relayctl/parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parser.c,v 1.7 2007/01/29 14:23:31 pyr Exp $ */ +/* $OpenBSD: parser.c,v 1.8 2007/02/01 20:03:38 pyr Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard @@ -63,6 +63,7 @@ static const struct token t_table_id[]; static const struct token t_host_id[]; static const struct token t_main[] = { + {KEYWORD, "monitor", MONITOR, NULL}, {KEYWORD, "show", SHOW_SUM, NULL}, {KEYWORD, "stop", SHUTDOWN, NULL}, {KEYWORD, "service", NULL, t_service}, -- cgit v1.2.3-59-g8ed1b