op_nubmode.py: Changed path to reset-command from relative to absolute
authorMichael Mrozek <EvilDragon@openpandora.de>
Sat, 12 Nov 2011 00:17:26 +0000 (01:17 +0100)
committerMichael Mrozek <EvilDragon@openpandora.de>
Sat, 12 Nov 2011 00:17:26 +0000 (01:17 +0100)
recipes/pandora-system/pandora-scripts/op_nubmode.py

index 7b858ff..8183e8b 100755 (executable)
@@ -15,7 +15,7 @@ PROFILES = '/etc/pandora/conf/nub_profiles.conf'
 # Shell command to reset nub: 3-0066 = left-nub, 3-0067 = right-nub
 # apparently they are linked and resetting one resets both.
 #RESET_CMD = 'echo %i > /sys/bus/i2c/drivers/vsense/3-00%i/reset'
 # Shell command to reset nub: 3-0066 = left-nub, 3-0067 = right-nub
 # apparently they are linked and resetting one resets both.
 #RESET_CMD = 'echo %i > /sys/bus/i2c/drivers/vsense/3-00%i/reset'
-RESET_CMD = "sudo ./reset_nubs.sh"
+RESET_CMD = "sudo /usr/pandora/scripts/reset_nubs.sh"
 
 # Valid values for mode setting
 MODES = ("mouse", "mbuttons", "scroll", "absolute")
 
 # Valid values for mode setting
 MODES = ("mouse", "mbuttons", "scroll", "absolute")