From 8f3b2775ad0b40b0d0b7ea7a2c3bf718a5abcbee Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Mon, 15 Dec 2014 16:18:54 -0200 Subject: [PATCH] Add a shortcut for unbound and enable it --- usr/local/www/services_unbound.php | 1 + usr/local/www/shortcuts.inc | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/usr/local/www/services_unbound.php b/usr/local/www/services_unbound.php index e6d4d2391f..d07d56d251 100644 --- a/usr/local/www/services_unbound.php +++ b/usr/local/www/services_unbound.php @@ -202,6 +202,7 @@ if ($_GET['act'] == "del") { $closehead = false; $pgtitle = array(gettext("Services"),gettext("DNS Resolver")); +$shortcut_section = "unbound"; include_once("head.inc"); ?> diff --git a/usr/local/www/shortcuts.inc b/usr/local/www/shortcuts.inc index d192c74ccb..a99f35c476 100644 --- a/usr/local/www/shortcuts.inc +++ b/usr/local/www/shortcuts.inc @@ -225,6 +225,11 @@ $shortcuts['resolver']['main'] = "services_dnsmasq.php"; $shortcuts['resolver']['log'] = "diag_logs_resolver.php"; $shortcuts['resolver']['service'] = "dnsmasq"; +$shortcuts['unbound'] = array(); +$shortcuts['unbound']['main'] = "services_unbound.php"; +$shortcuts['unbound']['log'] = "diag_logs_resolver.php"; +$shortcuts['unbound']['service'] = "unbound"; + $shortcuts['wireless'] = array(); $shortcuts['wireless']['main'] = "interfaces_wireless.php"; $shortcuts['wireless']['log'] = "diag_logs_wireless.php"; @@ -263,4 +268,4 @@ $shortcuts['authentication']['status'] = "diag_authentication.php"; $shortcuts['aliases'] = array(); $shortcuts['aliases']['main'] = "firewall_aliases.php"; $shortcuts['aliases']['status'] = "diag_tables.php"; -?> \ No newline at end of file +?>