Autor: aitor Data: Dla: dng Temat: Re: [DNG] if2mac init.d service for persistent network interface
names
Hi tito,
On 22/12/20 8:18, tito via Dng wrote: > BTW I don't know how to achieve this with udev rules
> could you be so kind and make a minimal example.
You can invoke your bourne shell script from a new udev.rule via:
IMPORT{program}="script"
If you locate this script in /lib/udev, the path to the script is
superfluous.
On the other hand, you can define new udev.rule stanzas from the shell
script
at boot time as follows (in this concrete case, we are using
70-persistent-net.rules
and previously we source the rule_generator.funcions):