X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=html%2Fcgi-bin%2Fwakeonlan.cgi;fp=html%2Fcgi-bin%2Fwakeonlan.cgi;h=164cec2de1e1889350e30079e9b287d2eaae819e;hp=289dc224a8e56e63224abc4293c2a2c5931c449d;hb=46443100e0eaa2bd7a23badc8eaeff9d3a1eca5d;hpb=fa7f2e219a4601e9d72b347afff8b21d34f789c2 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' )