[solved] exec: "on/off"

I have this item:

Switch Twonky_DLNA “Twonky DLNA” { exec=">[ON:/usr/share/openhab/configurations/scripts/twonky-start-nas.sh] >[OFF:/usr/share/openhab/configurations/scripts/twonky-stop-nas.sh]" }

Both scripts are the same, except start and stop command.

START:

#!/bin/bash
sshpass -p MYPASS ssh -o StrictHostKeyChecking=no USER@IP “cd /mnt/pools/A/A0/Arquivos/twonky8.1; ./twonkyinicia.sh start” &

STOP:

#!/bin/bash
sshpass -p MYPASS ssh -o StrictHostKeyChecking=no USER@IP “cd /mnt/pools/A/A0/Arquivos/twonky8.1; ./twonkyinicia.sh stop” &

This way I can start and stop another service from Openhab using EXEC and ssh.