Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-updates > by-pkgid > 1146b2133fdb27fd1c35c8e0237e1b36 > files > 5

gdm-2.30.2-12.1mdv2010.2.x86_64.rpm

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

export PATH="/sbin:/usr/sbin:$PATH:/usr/local/sbin:/usr/local/bin"

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