浏览代码

Not a shell script

Zachary Kotlarek 10 年之前
父节点
当前提交
e1e0190f4f
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
  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')