#!/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 

# welcome2l displays the `Login on' line 
# only if stdin is connected to a terminal...
exec < /dev/console > /dev/null

invoke-rc.d welcome2l restart

exit 0
