Debian Codegraph @

dracut/modules.d/55kiwi-live/kiwi-live-net-genrules.sh

raw
1 #!/bin/bash
2 type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh
3
4 if getargbool 0 rd.kiwi.live.pxe; then
5 {
6 echo -n "SUBSYSTEM==\"net\", ACTION==\"add\", "
7 echo -n "DRIVERS==\"?*\", ATTR{address}==\"?*\", "
8 echo -n "ATTR{dev_id}==\"0x0\", ATTR{type}==\"1\", "
9 echo -n "KERNEL==\"?*\", NAME=\"lan0\""
10 echo
11 } > /etc/udev/rules.d/90-net.rules
12 fi