mirror of
https://github.com/dracutdevs/dracut.git
synced 2024-10-27 09:25:21 +03:00
Save any dhcp options we did not handle to net.$interface.dhcpopts
This commit is contained in:
parent
17867cf913
commit
6a376b57eb
@ -19,6 +19,7 @@ case $reason in
|
|||||||
for s in $new_domain_name_servers; do
|
for s in $new_domain_name_servers; do
|
||||||
echo "nameserver $s" >> /etc/resolv.conf
|
echo "nameserver $s" >> /etc/resolv.conf
|
||||||
done
|
done
|
||||||
|
set |grep -e '^new_[a-z_]=' >/net.$interface.dhcpopts
|
||||||
>/net.$interface.up ;;
|
>/net.$interface.up ;;
|
||||||
*) ;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user