Victor Lopez
f18291e35b
Add igc for kernel 6.6
...
I had doubts in a few places and marked them with a //todo comment
2023-10-27 12:43:56 +02:00
Jeppe Odgaard
d3bcb6238e
bash_completion: fix confic typo
...
Change 'confic' to 'config' in ethercat.bash_completion.
2023-02-09 09:27:12 +01:00
Rasmus Villemoes
a8fe799522
ethercatctl: fix hard-coded path to ip utility
...
- The unmodified upstream iproute2 package installs the ip utility in
/sbin. That is also where it thus ends up with for example Yocto
builds.
- Debian/Ubuntu installs it in /bin (and I assume that's how this came
to be), but their packaging logic provides a symlink /sbin/ip ->
/bin/ip .
- ArchLinux seems to install it in both places (as hardlinks).
- CentOS only has /sbin/ip.
- Fedora only has /sbin/ip.
So /sbin/ip should work everywhere, whereas /bin/ip does not.
2022-08-31 15:18:42 +02:00
Florian Pose
2628069c5a
Fixed distribution of bash completions file.
2022-05-16 10:39:53 +02:00
Florian Pose
907a3633a2
Install bash completions.
2022-05-16 10:10:59 +02:00
Bjarne von Horn
8d247b6e95
add bash completion for ethercat tool
2022-05-13 21:22:39 +02:00
Florian Pose
3ee5e50a48
Merge branch 'init.d' into 'master'
...
Update init.d support
See merge request etherlab.org/ethercat!41
2021-12-13 10:00:16 +00:00
Nicola Fontana
9ee6693fb3
Update init.d support
2021-12-13 10:00:16 +00:00
Nicola Fontana
0ae450d7c7
Add UPDOWN_INTERFACES option to ethercat.conf
2021-12-13 09:56:32 +00:00
Florian Pose
5bd401490f
Avoid double quotes in arithmetic expansion.
2021-09-02 11:48:53 +02:00
Florian Pose
a87ce3bd08
Documentation for interface names.
2021-08-24 17:49:43 +02:00
Florian Pose
0a0117d4b6
Broke long lines.
2021-08-24 17:49:32 +02:00
Florian Pose
e480ffbe8b
Removed tabs.
2021-08-24 17:49:22 +02:00
Matthias Schoepfer
e78bf31962
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-08-24 17:49:09 +02:00
Nicola Fontana
fd772c310c
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-08-24 17:39:19 +02:00
Florian Pose
9384cc7010
Fixed problems with shell quotes introduced in 66329e1f.
2021-08-24 17:39:06 +02:00
Matthias Schoepfer
1bb6d56fa7
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-08-24 17:37:53 +02:00
Nicola Fontana
6e8c371c42
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-08-24 17:32:32 +02:00
Nicola Fontana
db729dc967
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-08-24 17:24:58 +02:00
Florian Pose
7444363317
Mention igb driver in config files.
2021-08-24 16:30:55 +02:00
Florian Pose
93da3dc16f
Respect bashisms.
2021-08-24 16:30:27 +02:00
Gavin Lambert
0dbebdbddf
Exit properly on "restart" request to init script.
...
[29-init-restart]
2014-06-01 18:07:47 +12:00
Florian Pose
99418519bd
Reverted default branch to stable-1.5.
2014-11-03 15:20:05 +01:00
Florian Pose
db5a33956d
Install ethercat service to multi-user target by default.
2012-04-10 19:09:51 +02:00
Florian Pose
8f5d8b736c
Add ethercat.conf to distribution.
2012-01-10 12:06:22 +01:00
Florian Pose
f575012e75
Enable generic driver by default.
2012-01-09 15:16:40 +01:00
Florian Pose
28d4117b19
Fixed appending to LOADED_MODULES variable.
2012-01-04 18:05:38 +01:00
Florian Pose
6b45d329ce
Added first systemd support.
2012-01-04 18:00:36 +01:00
Florian Pose
0568023c52
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