Run command after reboot

Volumio Information

Volumio Version:2.88.2
Hardware: Raspberry Pi 3B+
DAC:

Hi, first post here.
I want execute 2 commands on startup, but since the newest Volumio version, /etc/rc.local don`t work, and i´m really new to Volumio/Linux, so no matter what i try, it don´t work.

I installed uhubctl, and shut off my usb ports, but after restart, usb will work again, so i need this command to execute on start:

sudo ./uhubctl -l 1-1 -p 2 -a off

The second:
I don´t use HDMI port, so i also shut them down, and like above, after restart, it works again, so this is the second command, i need to execute on start:

sudo /opt/vc/bin/tvservice -o

Thanks a lot!

Hi Louisiana, welcome to Volumio. :slight_smile:

Use a cron job or systemd to start your bash scripts on boot. Have a Google.