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]
9 Index: live-boot-grml/hooks/live
10 ===================================================================
11 --- live-boot-grml.orig/hooks/live 2011-12-06 22:10:17.000000000 +0100
12 +++ live-boot-grml/hooks/live 2011-12-06 22:10:47.000000000 +0100
14 manual_add_modules crc32c
17 -if [ "${LIVE_DNS}" = "true" ]
19 - [ "${QUIET}" ] || echo -n " "dns
20 - #copy_exec /lib/libnss_files.so.* /lib # /etc/hosts and /etc/passwd
21 - copy_exec /lib/libnss_dns.so.* /lib # DNS server
22 - #copy_exec /lib/libnss_compat.so.* /lib # /etc/passwd
24 +#copy_exec /lib/libnss_files.so.* /lib # /etc/hosts and /etc/passwd
25 +copy_exec /lib/libnss_dns.so.* /lib # DNS server
26 +#copy_exec /lib/libnss_compat.so.* /lib # /etc/passwd
28 - # Configuration file - may be needed if /etc/hosts is used.
29 - #mkdir -p $DESTDIR/etc
30 - #cp -p /etc/nsswitch.conf $DESTDIR/etc
32 +# Configuration file - may be needed if /etc/hosts is used.
33 +#mkdir -p $DESTDIR/etc
34 +#cp -p /etc/nsswitch.conf $DESTDIR/etc
36 if [ "${LIVE_UNIONMOUNT}" = "true" ]