I have a firstboot script /etc/init/firstboot.conf which starts on "filesystem". This file creates some symlinks to some libs in /usr/lib
Issue is , /etc/init/lightdm.conf also starts on "filesystem".
If I traverse backwards, mountall.conf is the file which emits "filesystem" event and when this event is generated, lightdm.conf as well as my custom firstboot.conf both try to execute their scripts but the ordering is not guarenteed and you can never tell which one runs first. Now I want to always ensure that firstboot.conf runs before lightdm.conf . How can I ensure this without editing lightdm.conf ( I know I can create a dependency by emitting an event in my firstboot.conf and modify the lightdm.conf to start on that emitted event, but I dont wanna do this. Need a better approach which deals only with my custom firstboot.conf !!)