#!/bin/sh
clear
cd device-driver
make
chmod 777 device-driver/galep-lpt.o
chmod 777 /dev/galep-lpt
insmod galep-lpt.o
cd ..
echo "executing ldconfig..."
ldconfig -n galep-software/lib
ldconfig
mv galep-software/bin/! start-galep
echo 
echo  
echo
echo "Try start ./start-galep now..."
echo "If the galep-software does not start, try it as not priviliged user first or read the \"known problems\" section."
echo "Send a mail to peer@peer-ware.de and report - if all other steps fail."

