echo "Hello, this is CMSdesktop" > /tmp/CMSdesktop
# add CERN servers to /etc/krb.conf
/bin/echo "CERN.CH" >> /etc/krb.conf
/bin/echo "CERN.CH afsdb1.cern.ch" >> /etc/krb.conf
/bin/echo "CERN.CH afsdb3.cern.ch" >> /etc/krb.conf
/bin/echo "CERN.CH afsdb2.cern.ch" >> /etc/krb.conf
/bin/echo ".cern.ch CERN.CH" >>/etc/krb.realms


# create the mount points for the IBRIX and dCache nfs exports
/bin/mkdir -p /uscms
/bin/mkdir -p /uscmst1/prod
/bin/mkdir -p /uscmst1b_scratch/lpc1
/bin/mkdir -p /uscms_data/d1
/bin/mkdir -p /uscms_data/d2
/bin/mkdir -p /raid1

# add the IBRIX and dCache nfs imports in /etc/fstab
echo "cmsstor37.fnal.gov:/uscmst1/prod /uscmst1/prod nfs rsize=32768,wsize=32768,intr,bg,hard,ro,noatime,nodiratime 0 0" >>/etc/fstab
echo "cmsblue2.fnal.gov:/uscmst1b_scratch/lpc1 /uscmst1b_scratch/lpc1 nfs rsize=32768,wsize=32768,intr,bg,hard,rw,noatime,nodiratime 0 0" >>/etc/fstab
echo "cmsblue2.fnal.gov:/uscms_data/d1 /uscms_data/d1 nfs rsize=32768,wsize=32768,intr,bg,hard,rw,noatime,nodiratime 0 0" >>/etc/fstab
echo "cmsblue1.fnal.gov:/uscms_data/d2 /uscms_data/d2 nfs rsize=32768,wsize=32768,intr,bg,hard,rw,noatime,nodiratime 0 0" >>/etc/fstab
echo "cmsblue1.fnal.gov:/uscms /uscms nfs rsize=32768,wsize=32768,intr,bg,hard,rw,noatime,nodiratime 0 0" >>/etc/fstab
echo "cmsrocstor.fnal.gov:/local/raid1    /raid1       nfs rsize=32768,wsize=32768,intr,bg,hard,rw,noatime,nodiratime 0 0" >>/etc/fstab


echo gartung@FNAL.GOV >>/root/.k5login

# Add us_cms group
/usr/sbin/groupadd -g 5063 us_cms

wget http://lpc-helpdesk.fnal.gov/rpms/AdbeRdr9.1.3-1_i486linux_enu.rpm
wget http://lpc-helpdesk.fnal.gov/rpms/addprinters
wget http://lpc-helpdesk.fnal.gov/rpms/ganglia-3.0.7-1.el4.i386.rpm
wget http://lpc-helpdesk.fnal.gov/rpms/ganglia-gmond-3.0.7-1.el4.i386.rpm
wget http://lpc-helpdesk.fnal.gov/rpms/gmond.conf
wget http://lpc-helpdesk.fnal.gov/rpms/intusers
wget http://lpc-helpdesk.fnal.gov/rpms/lshw-2.12.1-1.el4.rf.i386.rpm
wget http://lpc-helpdesk.fnal.gov/rpms/NVIDIA-Linux-x86-180.51-pkg1.run
wget http://lpc-helpdesk.fnal.gov/rpms/after.rpms.sh

