How do I get my startup shell script to run another program? - Raspberry Pi Forums
i've got script working automatically export gpio pins -i need them driven high. gpio utility works in shell script, need them available program export them go low until when (and if) run other program. wrote executable program drives them high wiringpi. works fine, except...
can't copy etc/init.d...and attempts run
can't copy etc/init.d...and attempts run
have failed, have attempts navigate folder runsudo ./myfolder/myfile
hints?cd/
cd ~/myfolder
sudo ./myfile
have tried marking file executable? happens when try run it? error message?
code: select all
chmod +x myfile
raspberrypi
Comments
Post a Comment