#!/bin/sh
#
# In its default init script, the welcome2l is called with the `-xmasauto'
# option. This script runs the init script and update /etc/issue daily
# to make sure that we don't miss Xmas :)
#
# Please read /usr/share/doc/welcome2l/INSTALL.gz for details.
#

test -x /usr/bin/welcome2l || exit 0

PATH="/sbin:/usr/sbin:/bin:/usr/bin"

set -e

if command -v invoke-rc.d >/dev/null 2>&1; then
    invoke-rc.d welcome2l restart
else
    /etc/init.d/welcome2l restart
fi

exit 0
