Hi Guys, need some help here, I’m a complet noob to linux so please be gentle . step by step would help I’ve tried to get some scripts working but after 3 days yes three days of going around in circles , I,m here.
[ “$1” = “on” ]; then
gpioset --mode=exit gpiochip0 17=1
else
gpioset --mode=exit gpiochip0 17=0
fi
No mater what I do I get 2025-02-25 13:53:00.557] ERROR[17397]: app_rpt.c:748 rpt_event_process: event exec item malformed: /bin/sh /usr/local/bin/rx_led.sh 1
[2025-02-25 13:53:00.557] ERROR[17397]: app_rpt.c:748 rpt_event_process: event exec item malformed: /bin/sh /usr/local/bin/rx_led.sh 0
I give up, any one got a step by step idiots guide .
Thanks in advance
Kev
You’re mixing direct GPIO control wth scripts. You can do cop to call an internal command or cmd to call an external command. But you can’t mix-and-match. Try this: