1
0
mirror of https://github.com/fritz-smh/yi-hack synced 2025-06-07 16:06:11 +00:00

add nameserver in config file

This commit is contained in:
alpha14 2016-06-10 13:18:02 +03:00
parent cddc53daed
commit 96a706c0a2
2 changed files with 2 additions and 1 deletions

View File

@ -275,7 +275,7 @@ ifconfig | sed "s/^/ /" >> ${LOG_FILE}
### configure DNS (google one)
log "Do network configuration 2/2 (DNS)"
echo "nameserver 8.8.8.8" > /etc/resolv.conf
echo "nameserver $(get_config NAMESERVER)" > /etc/resolv.conf
log "Done"
### configure time on a NTP server

View File

@ -6,6 +6,7 @@ ROOT_PASSWORD=1234qwer
IP=192.168.1.121
NETMASK=255.255.255.0
GATEWAY=192.168.1.254
NAMESERVER=192.168.1.254
### Led color after full boot
# The sequence will be :