On Mon, Oct 13, 2014 at 03:23:25PM +0000, Petter Reinholdtsen wrote:
> --- a/share/ltsp/init-ltsp.d/60-edu-client
> +++ b/share/ltsp/init-ltsp.d/60-edu-client
> @@ -1,32 +1,45 @@
> #!/bin/sh
> +
> +service_disable() {
> + service="$1"
> + if [ -d /run/systemd/system ] \
> + && [ -f /lib/systemd/system/gdm3.service ] ; then
> + systemctl disable ${service}.service
> + else
> + update-rc.d $service disable || true
> + fi
I guess gdm3 should be replaced with ${service}?
Even if this replacement is made, update-rc.d seems to be taken in each
case.
Wolfgang
signature.asc
Description: Digital signature

