diff options
-rw-r--r-- | packages/openslug-init/openslug-init-0.10/turnup | 4 | ||||
-rw-r--r-- | packages/openslug-init/openslug-init_0.10.bb | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/packages/openslug-init/openslug-init-0.10/turnup b/packages/openslug-init/openslug-init-0.10/turnup index 977fa1f520..ce504b022e 100644 --- a/packages/openslug-init/openslug-init-0.10/turnup +++ b/packages/openslug-init/openslug-init-0.10/turnup @@ -753,8 +753,10 @@ init_network() { read_one "First DNS server" network dns_server1 read_one "Second DNS server" network dns_server2 read_one "Third DNS server" network dns_server3 + echo "$ip_addr $disk_server_name" >> /etc/hosts + ;; + dhcp) sed -i -e "s/localhost\$/localhost $disk_server_name/" /etc/hosts ;; - dhcp) ;; *) bootproto=dhcp;; esac # diff --git a/packages/openslug-init/openslug-init_0.10.bb b/packages/openslug-init/openslug-init_0.10.bb index e55d0f05db..537760f8d5 100644 --- a/packages/openslug-init/openslug-init_0.10.bb +++ b/packages/openslug-init/openslug-init_0.10.bb @@ -3,7 +3,7 @@ SECTION = "console/network" LICENSE = "GPL" DEPENDS = "base-files devio" RDEPENDS = "busybox devio" -PR = "r36" +PR = "r37" SRC_URI = "file://linuxrc \ file://boot/flash \ |