Commit Graph

92 Commits

Author SHA1 Message Date
Nicola Fontana 4c8ffd9a57 Do not hardcode paths in scripts
Try to reuse the configured paths as much as possible. Unfortunately, to
be able to fully expand some variable (e.g. `bindir`), these files must
be expanded by make, not by configure. This adds some complexity:

https://www.gnu.org/software/automake/manual/html_node/Scripts.html
2021-07-22 14:40:03 +02:00
Matthias Schoepfer 66329e1fe1 script: run shellcheck on bash / sh scripts
Mostly fixed omitted double quotes, some conversion of $(eval ..) to $(()).
Left the echo -n untouched, shellcheck complains about not being standard in
/bin/sh. Also, seems like some code is dublicated in ethercatctl.in and
init.d/ethercat.in.

Signed-off-by: Matthias Schoepfer <m.schoepfer@rethinkrobotics.com>
2021-07-05 14:51:16 +02:00
Florian Pose 7dd06f87c1 Merge branch 'entidi/ethercat-fix-built-sources' into stable-1.5 2021-05-25 12:26:09 +02:00
Nicola Fontana 60dd78485c Do not include AC_CONFIG_FILES in BUILT_SOURCES
BUILT_SOURCES is used to trigger early generation of files in the `make`
process to workaround dependency problems:

    https://www.gnu.org/software/automake/manual/html_node/Sources.html

AC_CONFIG_FILES are generated by `configure`, so they are already
present in the file system even before `make` is called. Furthermore,
AC_CONFIG_FILES already properly handle dist and clean targets, so no
need to add them to EXTRA_DIST or DISTCLEANFILES:

    https://www.gnu.org/software/automake/manual/html_node/Requirements.html
2021-05-22 08:25:26 +02:00
Nicola Fontana 1d65f6617f Proper systemd support
Follow the directions on integrating systemd with autotools provided by
the systemd documentation itself:

https://www.freedesktop.org/software/systemd/man/daemon.html#Installing%20systemd%20Service%20Files

The snippet has been adapted to better match our coding style, e.g.
directly use of `if` instead of `AS_IF`.
2021-05-22 07:22:57 +02:00
Florian Pose 21813858c8 Mention igb driver in config files. 2017-10-27 12:18:11 +02:00
Florian Pose 1016e8a75e Respect bashisms. 2017-10-12 15:01:43 +02:00
Florian Pose d790e03dd9 merge. 2014-10-27 14:15:55 +01:00
Florian Pose ef47dbbc44 Use absolute path fpr ldmod; thanks to S. Blanchet. 2014-07-08 11:18:02 +02:00
Florian Pose c74e80e39b List ccat driver in configuration files. 2014-04-25 17:32:49 +02:00
Florian Pose 3e3d59d96e Avoid replacing ccat driver. 2014-04-25 17:32:26 +02:00
Florian Pose 145e2ec239 Added notes about systemd dependencies. 2014-02-19 12:28:15 +01:00
Florian Pose e117acc03a Device activation note. 2013-12-10 10:42:25 +01:00
Florian Pose b0b7e6fde4 Removed trailing spaces. 2012-09-06 20:22:24 +02:00
Florian Pose 1c8790c483 Merged redundancy branch to stable-1.5. 2012-09-06 18:28:57 +02:00
Florian Pose d957062010 merge. 2012-04-10 19:10:56 +02:00
Florian Pose 74687adbe9 Install ethercat service to multi-user target by default. 2012-04-10 19:09:51 +02:00
Florian Pose 71422c035b Add ethercat.conf to distribution. 2012-01-10 12:06:22 +01:00
Florian Pose 97a7825606 Enable generic driver by default. 2012-01-09 15:16:40 +01:00
Florian Pose a284307481 Add ethercat.conf to distribution. 2012-01-10 12:06:22 +01:00
Florian Pose 1db2b3b9a5 Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang. 2011-07-06 16:37:40 +02:00
Florian Pose c4eac658af Fixed appending to LOADED_MODULES variable. 2012-01-04 18:05:38 +01:00
Florian Pose 04b652a7fb Added first systemd support. 2012-01-04 18:00:36 +01:00
Florian Pose 508684030d Enable generic driver by default. 2012-01-09 15:16:40 +01:00
Florian Pose f50af7cfab Fixed appending to LOADED_MODULES variable. 2012-01-04 18:05:38 +01:00
Florian Pose e8ffd304ce Added first systemd support. 2012-01-04 18:00:36 +01:00
Florian Pose ec84b03034 Master accepting two devices. 2011-11-09 12:05:44 +01:00
Florian Pose ce954f5f1f Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang. 2011-07-06 16:37:40 +02:00
Florian Pose a144042657 Removed tabulators. 2010-02-05 10:29:47 +01:00
Florian Pose 9d4327c47d Added variable vor master module arguments. 2010-01-26 10:15:59 +01:00
Florian Pose c6b034d647 Init script and sysconfig file for generic Ethernet driver. 2009-11-05 10:22:58 +01:00
Florian Pose 12c12b1bab Improved and added license headers. 2009-02-24 12:51:39 +00:00
Florian Pose 919eac507b First version of r8169 driver. 2009-02-04 17:06:14 +00:00
Florian Pose 5ca3d24337 merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only. 2009-01-26 11:16:10 +00:00
Florian Pose deb07b5686 merge -r1599:1600 branches/stable-1.4: Removed bashisms from init script. 2009-01-26 10:30:17 +00:00
Florian Pose ddc6040be3 Removed the forcedeth drivers. 2008-09-30 12:41:34 +00:00
Florian Pose 2f736c3ad8 Removed a few old scripts. 2008-08-01 15:01:45 +00:00
Florian Pose ccdb8f86ba Added spaces to init script. 2008-08-01 12:53:00 +00:00
Florian Pose 3ed38e1dc2 Repaired init script status command. 2008-08-01 11:09:39 +00:00
Florian Pose 1d3fe7a613 Improved doc; removed BACKUP variables. 2008-07-04 12:05:21 +00:00
Florian Pose ae09a9fdc7 Minor change. 2008-07-04 12:04:56 +00:00
Florian Pose faf3ec66a8 Remove manual creation of device nodes, this is done by udev. 2008-06-17 13:27:28 +00:00
Florian Pose fd490fb64f Abort, if MAJOR number could not be determined. 2008-06-03 13:14:11 +00:00
Florian Pose 228772c319 Adapted to new entry syntax. 2008-06-02 13:55:46 +00:00
Florian Pose 3b4cae9626 Added the new ethercat comman-line tool with lsec functionality. 2008-05-29 15:11:26 +00:00
Florian Pose 9f0555ee26 Removed some xmldev survivors. 2008-05-29 09:53:10 +00:00
Florian Pose fee7393b89 Fixed RevisionNo. 2008-05-28 07:19:33 +00:00
Florian Pose d13c55494f Added slaveinfo2xml.py. 2008-05-27 12:45:07 +00:00
Florian Pose 95e6dc8d2b Evaluate CoE details from general category; moved current consumption
into general category info.
2008-02-28 10:58:43 +00:00
Florian Pose a395eed1ca Added MODPROBE_FLAGS variable. 2008-02-22 11:04:49 +00:00