mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-13 20:42:58 +02:00
wakeonlan.cgi: Use new perl system functions
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -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' )
|
||||
|
||||
Reference in New Issue
Block a user