blob: 452873fe6a5e3e92e17f0dacf6e205a5ad81e227 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
if ! getargbool 1 biosdevname; then
info "biosdevname=0: removing biosdevname network renaming"
udevproperty UDEV_BIOSDEVNAME=
rm -f -- /etc/udev/rules.d/71-biosdevname.rules
else
info "biosdevname=1: activating biosdevname network renaming"
udevproperty UDEV_BIOSDEVNAME=1
fi
|