I menaged to execute this bash script with html
Code: Select all
#!/bin/bash
gpio -g write 10 1

but when i add
Code: Select all
echo "1" > test.txt
echo line is not executed but gpio -w is working.
LED is turning ON but "1" is not written in test.txt file
file exists in same folder as script
Thnx in advance