ubuntu net card dhcp
wyk@ubuntu:~$ cat netdev_dhcp.sh
#!/bin/sh
ifconfig
echo -e "\n\n udhcpc -i netdev\n\n"
sudo udhcpc -i ens38 1>/dev/null 2>&1 &
sudo udhcpc -i ens39 1>/dev/null 2>&1 &
sleep 10
ifconfig
wyk@ubuntu:~$
标签:ubuntu,dhcp,net,null,udhcpc,card From: https://www.cnblogs.com/WangYangkai/p/17191876.html