From: Michael Tremer Date: Thu, 10 Jun 2021 14:24:29 +0000 (+0100) Subject: wakeonlan.cgi: Use new perl system functions X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f57e1628f6d66dea2c212d7bfc17ce8e1bf2520b;p=people%2Fpmueller%2Fipfire-2.x.git wakeonlan.cgi: Use new perl system functions Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/wakeonlan.cgi b/html/cgi-bin/wakeonlan.cgi index 289dc224a8..164cec2de1 100644 --- a/html/cgi-bin/wakeonlan.cgi +++ b/html/cgi-bin/wakeonlan.cgi @@ -171,7 +171,7 @@ if ( $cgiparams{'ACTION'} eq 'wakeup' ) undef %cgiparams; - system("/usr/sbin/etherwake -i $iface $mac"); + &General::system("/usr/sbin/etherwake", "-i", "$iface", "$mac"); # make a box with info, 'refresh' to normal screen after 5 seconds if ( $refresh eq 'yes' )