summaryrefslogtreecommitdiff
path: root/package/base-files/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-19 14:16:11 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-26 17:22:17 +0200
commit053558bc5cd1944a6ac271cbccd9514a116e00f2 (patch)
treeddb381ed8dfe51d2390e42ddadab61d1ee9fa4fd /package/base-files/Makefile
parent883ee0df764eea2770e972be34fe1188cd1da267 (diff)
nfs-utils: finetuning startup script
Diffstat (limited to 'package/base-files/Makefile')
-rw-r--r--package/base-files/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 0ae4f795b..bc8efca2f 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -178,8 +178,10 @@ endif
endif
printf "\n" >> ${IDIR_BASE_FILES}/etc/network/interfaces
+ifneq (${ADK_SIMPLE_NETWORK_CONFIG_NS},)
rm ${IDIR_BASE_FILES}/etc/resolv.conf
printf "nameserver ${ADK_SIMPLE_NETWORK_CONFIG_NS}\n" > ${IDIR_BASE_FILES}/etc/resolv.conf
+endif
ifneq (${ADK_SIMPLE_NETWORK_CONFIG_PROXY},)
printf "http_proxy=${ADK_SIMPLE_NETWORK_CONFIG_PROXY}\n" >> ${IDIR_BASE_FILES}/etc/profile
printf "https_proxy=${ADK_SIMPLE_NETWORK_CONFIG_PROXY}\n" >> ${IDIR_BASE_FILES}/etc/profile