#!/bin/sh -e
echo "Configuring the PrimeNet GIMPS client..."
echo
echo "You are about to execute the prime-net client in configuration mode."
echo "The only sections you are likely to have to modify are:"
echo "     3.  Test/User Information"
echo "    15.  Options/CPU"
echo "and  7.  Test/Exit"
echo
echo "Do not use your login password as the GIMPS password, this would "
echo "compromise security at your site. When you are done the client "
echo "will automatically be started as a daemon and will get work to do "
echo "the next time you connect to the internet."
echo "Make sure you review the rules for participation in the EFF contest."
echo "See /usr/doc/prime-net/prize.html"
echo
echo "[Hit return]"
read foo
cd /var/lib/prime-net
su daemon -c "./prime-net -m"
