#!/usr/local/bin/perl # edit_hostsentry.cgi # Display hostsentry options require './sentry-lib.pl'; &ui_print_header(undef, $text{'hostsentry_title'}, "", "hostsentry", 0, 0, undef, &help_search_link("hostsentry", "man", "doc")); if (!-r $config{'hostsentry'}) { print "
",&text('hostsentry_ecommand', "$config{'hostsentry'}", "@{[&get_webprefix()]}/config.cgi?$module_name"),"
\n"; &ui_print_footer("", $text{'index_return'}); exit; } # Show configuration form $conf = &get_hostsentry_config(); print "
\n"; } else { print "\n"; } # Show start/stop buttons print &ui_hr(); print "