Hello. I have a daemon, that runs before init system, it do some things and must sleep before system go to 3 or 5 runlevel. That is the best way to waiting ? I'm not only using systemd, but other init systems too... Very simple method - in cycle parse /var/log/wtmp (/var/log/wtmpx) and get current runlevel, but does it exists more elegant way to do whis?
Thank's _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
