New comment by mamins1376 on void-packages repository https://github.com/void-linux/void-packages/pull/12974#issuecomment-510363513 Comment: Based on @abenson's suggestion; `/etc/rc.local`: ``` for f in /var/oneshot/*/start; do [ -x $f ] && $f; done ``` And a similar one with `/var/oneshot/*/stop`; So that packages can add their own hooks and even do some sort of dependency satisfaction through number prefixes. This is kind of borrowed from `/etc/X11/xinit/xinitrc`.