summaryrefslogtreecommitdiff
path: root/udev/udev-rules.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-10-23 15:44:34 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-10-23 15:44:34 +0200
commit9bdca442ef3f7d54cea9827605ec635712009735 (patch)
tree71491d0baa26b1eeb6ae708fa9b2e83cdf7ff5a8 /udev/udev-rules.c
parent84629ccd85cb65c82dd9cb1c5411c55f2c0abbf0 (diff)
rule_generator: fix netif NAME= value extraction regex
$ sed -n -r \ -e 's/^#.*//' \ -e 's/[[:space:],]NAME="(eth[0-9]*)"[[:space:]]*(,.*|\\|)$/\1/p' \ /dev/null /etc/udev/rules.d/70-persistent-net.rules SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:16:41:e2:8d:c7", ATTR{type}=="1", KERNEL=="eth*",eth4 $ sed -n -r \ -e 's/^#.*//' \ -e 's/.*[[:space:],]NAME="(eth[0-9]*)".*/\1/p' \ /dev/null /etc/udev/rules.d/70-persistent-net.rules eth4
Diffstat (limited to 'udev/udev-rules.c')
0 files changed, 0 insertions, 0 deletions