#!/bin/bash
# -*- mode: shell-script; coding: utf-8 -*-
#
# Copyright 2002-2014 Cendio AB.
# For more information, see http://www.cendio.com

# Set language on Debian based systems
if [ -r /etc/default/locale ]; then
    source /etc/default/locale
    export LANG LANGUAGE LC_NUMERIC LC_TIME LC_MONETARY LC_PAPER 
    export LC_IDENTIFICATION LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
fi

# Log system/distribution information
source ${TLPREFIX}/libexec/log_sysinfo.sh

# Source xstartup script
if [ -f ~/.thinlinc/xstartup ] ; then
    source ~/.thinlinc/xstartup
else
    source "${TLPREFIX}/etc/xstartup.default"
fi
