Explorar o código

Not a shell script

Zachary Kotlarek %!s(int64=10) %!d(string=hai) anos
pai
achega
e1e0190f4f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dmx/HDMIctrl.pl

+ 1 - 1
dmx/HDMIctrl.pl

@@ -124,7 +124,7 @@ while (1) {
 
 			# WoL the target machine
 			# This should probably happen elsewhere, but if we're hacking here anyway...
-			~/bin/video/wol/wol-game.sh
+			system($ENV{'HOME'} . '/bin/video/wol/wol-game.sh');
 
 			# Reboot the HDMI switch
 			$hdmi->send('REBOOT')