Hi everybody, hope everyone is fine on these hard times
I have a problem with the files of the title, they don´t work. I want them to execute a http request
Any help would be great
Thanks
autostart:
#!/bin/sh
(
sleep 5
curl -s 'https://autoremotejoaomgcd.appspot.com/sendmessage?key=XXXX&message=Coreelec=:=on' > /dev/null
/storage/.config/acestream/autostart.sh
)&
shutdown:
case "$1" in
halt)
# your commands here
;;
poweroff)
curl -s 'https://autoremotejoaomgcd.appspot.com/sendmessage?key=xxxxxxx&message=Coreelec=:=off' > /dev/null
;;
reboot)
# your commands here
;;
*)
# your commands here
;;
esac