Florian Pose
4ac30c966e
Avoid double quotes in arithmetic expansion.
...
(cherry picked from commit 5bd401490f )
2021-09-02 15:12:46 +00:00
Florian Pose
b47f9249d7
Documentation for interface names.
2021-08-24 13:27:28 +02:00
Florian Pose
d06444d53e
Broke long lines.
2021-08-24 13:20:54 +02:00
Florian Pose
72ae0c090c
Removed tabs.
2021-08-24 12:36:29 +02:00
Matthias Schoepfer
162e5ef9eb
ethercatctl: allow to use the network device name instead of mac address
...
In the /etc/ethercat.conf file, the MASTERX_DEVICE string is given as a
mac address or a wildcard. When we want to deploy the (same) software (image)
to a bunch of different hardware, and these computers do have more than one
interface that matches the driver, we need a way to define the device by
network interface name. This allows to also define the network device by name
(e.g. eth0, eno1, ...)
Signed-off-by: Matthias Schoepfer <m.schoepfer@rethinkrobotics.com >
2021-07-27 10:44:26 +02:00
Florian Pose
b68abbfb04
Merge branch 'dehardcode-paths' into 'stable-1.5'
...
Do not hardcode paths in scripts
See merge request etherlab.org/ethercat!28
2021-07-22 13:27:06 +00:00
Florian Pose
83468705b2
Fixed problems with shell quotes introduced in 66329e1f.
2021-07-22 15:06:17 +02:00
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