Sophie

Sophie

distrib > Mandriva > 2010.0 > x86_64 > by-pkgid > ee6817e4705f6d30fc8946e65566310e > files > 5

gdm-2.20.10-7mdv2010.0.x86_64.rpm

#!/bin/sh
# Stolen from the debian kdm setup, aren't I sneaky
# Plus a lot of fun stuff added
#  -George

PATH=/usr/bin:$PATH

if [ -x /etc/X11/xinit/fixkeyboard ]; then
    /etc/X11/xinit/fixkeyboard
  fi
  
if [ -x /etc/X11/xinit.d/numlock ]; then
    /etc/X11/xinit.d/numlock &
  fi
for i in /etc/X11/xsetup.d/*.xsetup ; do
    [ -d $i ] && continue
  
    if [ -x $i ]; then
        if grep -q "# to be sourced" $i; then
            . $i
        else
            $i &
        fi
      fi
done

exit 0