ALT Linux Bugzilla
– Attachment 12477 Details for
Bug 45226
initconf: не сохраняет текущий конфиг в /etc/net/ifaces для типа сетевой карты с именем, отличным от eth*
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Грязный патч, решающий проблему
etcnet_dirty.diff (text/plain), 872 bytes, created by
Николай Степаненко
on 2023-02-09 17:46:14 MSK
(
hide
)
Description:
Грязный патч, решающий проблему
Filename:
MIME Type:
Creator:
Николай Степаненко
Created:
2023-02-09 17:46:14 MSK
Size:
872 bytes
patch
obsolete
>--- /etc/net/scripts/contrib/initconf.unmod 2022-07-28 14:32:29.000000000 +0000 >+++ /etc/net/scripts/contrib/initconf 2023-02-09 11:33:48.812661019 +0000 >@@ -89,7 +89,8 @@ > esac > fi > # many others try to look as ethernet, so let's filter by iface name... >- if [ "${iface//[0-9]*/}" = "eth" ]; then >+ #if [ "${iface//[0-9]*/}" = "eth" ]; then >+ if [ "${iface}" = "enp4s0" ]; then > # find and use link-level address > LLADDR=`$IP li sh dev $iface | fgrep 'link/ether' | sed 's/^ *link\/ether //' | cut --delimiter=' ' --fields=1` > # ...and by valid MAC address
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 45226
:
12477
|
12494
|
12495
|
12497