From 154dfcb7a2ec7ab399f8ca5393987bfa8defefa9 Mon Sep 17 00:00:00 2001 From: Leo-Andres Hofmann Date: Wed, 20 Apr 2022 14:13:09 +0200 Subject: [PATCH] wakeonlan.cgi: Fix meta refresh tag MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This fixes an HTML error that is briefly visible on the "magic packet sent" page. Signed-off-by: Leo-Andres Hofmann Reviewed-by: Peter Müller --- html/cgi-bin/wakeonlan.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/cgi-bin/wakeonlan.cgi b/html/cgi-bin/wakeonlan.cgi index c3c4c6911b..e88448964d 100644 --- a/html/cgi-bin/wakeonlan.cgi +++ b/html/cgi-bin/wakeonlan.cgi @@ -173,10 +173,10 @@ if ( $cgiparams{'ACTION'} eq 'wakeup' ) &General::system("/usr/sbin/etherwake", "-i", "$iface", "$mac"); - # make a box with info, 'refresh' to normal screen after 5 seconds + # make a box with info, 'refresh' to normal screen after 3 seconds if ( $refresh eq 'yes' ) { - &Header::openpage($Lang::tr{'WakeOnLan'}, 1, ""); &Header::openbigbox('100%', 'left'); } &Header::openbox('100%', 'left', $Lang::tr{'WakeOnLan'}); -- 2.39.5