Re: [debian-edu-commits] debian-edu/ 01/01: Rewrite init-ltsp.d/60-edu-client to disable all services the same way, reduce duplicate code and work with sysv-rc based systems too.
[Wolfgang Schweer]
> I guess gdm3 should be replaced with ${service}?
Yes. Fix commited.
> Even if this replacement is made, update-rc.d seems to be taken in
> each case.
I investigated, and the [ -d /run/systemd/system ] test do not succeed
when the init-ltsp.d code is executed. I believe it is created when
systemd is started, so I guess systemd is not yet running at that
point.
I'll find another way to detect if systemd is used.
--
Happy hacking
Petter Reinholdtsen
Reply to: