diff options
Diffstat (limited to 'initramfs-tools')
-rw-r--r-- | initramfs-tools/scripts/samizdat | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/initramfs-tools/scripts/samizdat b/initramfs-tools/scripts/samizdat index 0abe902..5acf266 100644 --- a/initramfs-tools/scripts/samizdat +++ b/initramfs-tools/scripts/samizdat | |||
@@ -12,20 +12,23 @@ mountroot() | |||
12 | 12 | ||
13 | if [ "$nbdroot" ]; then | 13 | if [ "$nbdroot" ]; then |
14 | configure_networking | 14 | configure_networking |
15 | export ROOTSERVER | ||
16 | 15 | ||
17 | (. common.sh | 16 | (debug_log samizdat.nbd |
18 | debug_log samizdat.nbd | ||
19 | . /scripts/local-top/nbd | 17 | . /scripts/local-top/nbd |
20 | bootdone nbd-script) & | 18 | bootdone nbd-script) |
21 | 19 | ||
22 | bootwait nbd-script | ||
23 | wait_for_gnupghome_tar | 20 | wait_for_gnupghome_tar |
24 | fi | 21 | fi |
25 | 22 | ||
26 | bootwait samizdat-gpg | 23 | bootwait samizdat-gpg |
27 | bootmenu | 24 | bootmenu |
28 | bootwait root-mounted | 25 | bootwait root-mounted |
26 | |||
27 | if [ "$IPV4DNS0" ]; then | ||
28 | printf '%s\n' "$IPV4DNS0" "$IPV4DNS1" | | ||
29 | grep -v 0.0.0.0 | | ||
30 | sed 's/^/nameserver /' > /root/etc/resolv.conf | ||
31 | fi | ||
29 | chvt 1 | 32 | chvt 1 |
30 | } | 33 | } |
31 | 34 | ||