Bash Call Script From Variable Resistor