source: proiecte/PPPP/gdm/daemon/gdm.in @ 134

Last change on this file since 134 was 134, checked in by (none), 14 years ago

gdm sources with the modifications for webcam

File size: 666 bytes
Line 
1#!/bin/sh
2#
3# A script so that
4#    1) we read the standard system env vars
5#    2) syadmins/integrators can add their own private options etc...
6
7test -f /etc/profile && . /etc/profile
8
9# Try to set LC_MESSAGES to LANG if neither LC_MESSAGES or LC_ALL is set.
10# This ensures that gdm can display in a system's default language if only
11# LANG is set.
12
13# Make sure LANG is set
14#
15if [ -z "$LANG" ]
16then
17  if [ -f /etc/sysconfig/language ]
18  then
19    LANG=`. /etc/sysconfig/language; echo $RC_LANG`
20    export LANG
21  fi
22fi
23
24if [ -z "$LC_MESSAGES" ]
25then
26  if [ -z "$LC_ALL" ]
27  then
28    LC_MESSAGES=$LANG
29    export LC_MESSAGES
30  fi
31fi
32
33exec @sbindir@/gdm-binary "$@"
34
Note: See TracBrowser for help on using the repository browser.