Added README file and altered outputs of install.sh

This commit is contained in:
Florian Pose 2006-04-07 14:19:20 +00:00
parent 96cb6726a6
commit 891181c1d4
2 changed files with 51 additions and 1 deletions

50
README Normal file
View File

@ -0,0 +1,50 @@
-------------------------------------------------------------------------------
$Id$
-------------------------------------------------------------------------------
General Information
===================
This is an Open-Source EtherCAT master implementation for Linux 2.6.
For more information, see
http://etherlab.org
or contact
Florian Pose <fp@igh-essen.com>
Ingenieurgemeinschaft IgH
Heinz-Baecker-Str. 34
D-45356 Essen
http://igh-essen.com
-------------------------------------------------------------------------------
Installation
============
1) Create a copy of the configuration template:
$ cp ethercat.conf.tmpl ethercat.conf
2) Adjust the Variables in the configuration file to your needs.
3) Build the EtherCAT master and network device driver modules:
$ make
4) Install the the EtherCAT master (as root):
# make install
This will create the following files and directories:
- /etc/sysconfig/ethercat (configuration file)
- /etc/init.d/ethercat (startup script)
- /usr/sbin/rcethercat (link to startup script)
The modules will be placed in /lib/modules/`uname -r`/kernel/drivers/net.
-------------------------------------------------------------------------------

View File

@ -25,7 +25,7 @@ install()
# Fetch parameter
if [ $# -ne 2 ]; then
echo "Usage: $0 <KERNEL> <DEVICEINDEX>"
echo "This script is called by \"make\". Run \"make install\" instead."
exit 1
fi