I need to run a bash script at boot-time as superuser in Xubuntu. I don't know where to start. I have to do something described in a Arch Linux guide. That guide says exactly:
Add following at the end of the file : /etc/rc.sysinit
# Do my action
/etc/rc.d/do_my_action
/bin/dmesg >| /var/log/dmesg.log
But I do not have /etc/rc.sysinit and /etc/rc.d/ in Xubuntu. I'm sure there are equivalent ones, right?