업무/etc
[Linux] resolv.conf 파일 초기화 막기
sysops
2022. 5. 6. 14:11
728x90
# vi /sbin/dhclient-script
ifconfig $interface:0- inet 0
ifconfig $interface:0 inet $alias_ip_address $alias_subnet_arg
/sbin/ip route replace ${alias_ip_address}/32 dev $interface:0
fi
fi
if [ -z "${dhc_dbus}" ] || (( ( dhc_dbus & 1 ) != 1 )); then
# make_resolv_conf <- 주석
728x90