#!/bin/bash

LOG=/var/tmp/zentyal-installer.log

ln -sf /lib/plymouth/themes/zentyal/zentyal.plymouth /etc/alternatives/default.plymouth
ln -sf /lib/plymouth/themes/zentyal/zentyal.grub /etc/alternatives/default.plymouth.grub

if [ "$1" == "configure" ]
then
    echo 'manual' > /etc/init/lxdm.override
fi

if [ -n "$2" ]
then
    rm -f /etc/init/lxdm.override
fi
