Changeset 3559
- Timestamp:
- 09/06/07 12:48:13 (5 years ago)
- Files:
-
- trunk/freewrt/package/Config.in.network (modified) (1 diff)
- trunk/freewrt/package/base-files/Makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/freewrt/package/Config.in.network
r3540 r3559 470 470 471 471 endmenu 472 473 config FWRT_NETWORK_USE_NAMESERVERS 474 bool "Static DNS configuration" 475 default n 476 help 477 Enable this to set the nameservers manually 478 479 config FWRT_NETWORK_NAMESERVERS 480 string "Nameservers (space separated)" 481 depends on FWRT_NETWORK_USE_NAMESERVERS 482 default "" 483 help 484 Enter the nameservers (resolvers) to use here. trunk/freewrt/package/base-files/Makefile
r3545 r3559 10 10 PKG_NAME:= base-files 11 11 PKG_VERSION:= 1.1 12 PKG_RELEASE:= 3 112 PKG_RELEASE:= 32 13 13 WRKDIST= ${WRKDIR}/base-files 14 14 NO_DISTFILES:= 1 … … 77 77 mkdir -p $(IDIR_BASE_FILES)/usr/lib 78 78 mkdir -p $(IDIR_BASE_FILES)/usr/bin 79 ifeq ($(strip $(subst ",,${FWRT_NETWORK_NAMESERVERS})),) 79 80 ln -sf ../tmp/resolv.conf $(IDIR_BASE_FILES)/etc/resolv.conf 81 else 82 for servent in $(strip $(subst ",,${FWRT_NETWORK_NAMESERVERS})); do \ 83 echo "nameserver $$servent"; \ 84 done >${IDIR_BASE_FILES}/etc/resolv.conf 85 endif 80 86 ln -sf ../proc/mounts $(IDIR_BASE_FILES)/etc/mtab 81 87 rm -rf $(IDIR_BASE_FILES)/var


