newhostname=nexp-ubuntu-14

rm -rf /home/nexp/.config/autostart/*

cp /opt/nexp/nexp-setup1.desktop /home/nexp/.config/autostart/

cp /opt/nexp/sudoers.elevated /etc/sudoers

echo "$newhostname" > /etc/hostname

#output /etc/hosts

echo "127.0.0.1 localhost" > /etc/hosts
echo "127.0.1.1 $newhostname $newhostname.monitor.lucidnetworks.net" >> /etc/hosts
echo "::1     ip6-localhost ip6-loopback" >> /etc/hosts
echo "fe00::0 ip6-localnet" >> /etc/hosts
echo "ff00::0 ip6-mcastprefix" >> /etc/hosts
echo "ff02::1 ip6-allnodes" >> /etc/hosts
echo "ff02::2 ip6-allrouters" >> /etc/hosts
