1 commit 10caf0b2db3fc04fae24ca896cf21f6aed12bbbc
2 Author: Christian Hofstaedtler <ch@grml.org>
3 Date: Fri Mar 25 23:02:38 2011 +0100
5 support DNS in boot environment
7 Thanks to Ulrich Dangel for discovering this. [Closes: issue848]
12 manual_add_modules crc32c
15 -if [ "${LIVE_DNS}" = "true" ]
17 - [ "${QUIET}" ] || echo -n " "dns
18 - #copy_exec /lib/libnss_files.so.* /lib # /etc/hosts and /etc/passwd
19 - copy_exec /lib/libnss_dns.so.* /lib # DNS server
20 - #copy_exec /lib/libnss_compat.so.* /lib # /etc/passwd
22 +#copy_exec /lib/libnss_files.so.* /lib # /etc/hosts and /etc/passwd
23 +copy_exec /lib/libnss_dns.so.* /lib # DNS server
24 +#copy_exec /lib/libnss_compat.so.* /lib # /etc/passwd
26 - # Configuration file - may be needed if /etc/hosts is used.
27 - #mkdir -p $DESTDIR/etc
28 - #cp -p /etc/nsswitch.conf $DESTDIR/etc
30 +# Configuration file - may be needed if /etc/hosts is used.
31 +#mkdir -p $DESTDIR/etc
32 +#cp -p /etc/nsswitch.conf $DESTDIR/etc
34 if [ "${LIVE_UNIONMOUNT}" = "true" ]