]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - html/cgi-bin/wakeonlan.cgi
Firewallhitgraphs gefixt.
[people/pmueller/ipfire-2.x.git] / html / cgi-bin / wakeonlan.cgi
index ff60304af180b8f73bd964962905f79391d999a5..da6bfe3bc9a9b1c56d4d3fe09c3f1399d6bcff93 100644 (file)
@@ -1,6 +1,9 @@
 #!/usr/bin/perl
 #
 # IPFire WakeOnLan-AddOn CGI
+# This code is based on the wol-gui addon
+# for ipcop written by weizen_42.
+# http://www.ban-solms.de/t/IPCop-wolgui.html
 #
 # This code is distributed under the terms of the GPL
 #
@@ -152,12 +155,12 @@ if ( $cgiparams{'ACTION'} eq 'wakeup' )
 
   undef %cgiparams;
 
-  system("/usr/local/sbin/launch-ether-wake $mac $iface");
+  system("/usr/local/bin/launch-ether-wake $mac $iface");
 
   # make a box with info, 'refresh' to normal screen after 5 seconds
   if ( $refresh eq 'yes' )
   {
-    &Header::openpage($Lang::tr{'WakeOnLan'}, 1, "<meta http-equiv='refresh' content='3;url=/cgi-bin/wakeonlan-gui.cgi'");
+    &Header::openpage($Lang::tr{'WakeOnLan'}, 1, "<meta http-equiv='refresh' content='3;url=/cgi-bin/wakeonlan.cgi'");
     &Header::openbigbox('100%', 'left');
   }
   &Header::openbox('100%', 'left', $Lang::tr{'WakeOnLan'});