From: Leo-Andres Hofmann Date: Wed, 20 Apr 2022 12:13:09 +0000 (+0200) Subject: wakeonlan.cgi: Fix meta refresh tag X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=154dfcb7a2ec7ab399f8ca5393987bfa8defefa9;p=people%2Fstevee%2Fipfire-2.x.git wakeonlan.cgi: Fix meta refresh tag 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 --- 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'});