From 3936e03bee1a1807353cf05148aba2ea6e15b2bb Mon Sep 17 00:00:00 2001 From: Braiden Vasco Date: Wed, 5 Jul 2017 08:03:30 +0000 Subject: [PATCH] Reorder code --- build.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/build.sh b/build.sh index c40c475..69dc0b3 100755 --- a/build.sh +++ b/build.sh @@ -223,8 +223,9 @@ on_chroot << EOF dpkg-divert --add --local /lib/udev/rules.d/75-persistent-net-generator.rules EOF -install -m 644 files/ipv6.conf "$ROOTFS_DIR/etc/modprobe.d/ipv6.conf" -install -m 644 files/interfaces "$ROOTFS_DIR/etc/network/interfaces" +install -m 644 files/resolv.conf "$ROOTFS_DIR/etc/" +install -m 644 files/interfaces "$ROOTFS_DIR/etc/network/interfaces" +install -m 644 files/ipv6.conf "$ROOTFS_DIR/etc/modprobe.d/ipv6.conf" echo $HOSTNAME > "$ROOTFS_DIR/etc/hostname" chmod 644 "$ROOTFS_DIR/etc/hostname" @@ -319,11 +320,6 @@ on_chroot << EOF apt-get install -y dhcpcd5 EOF -## -# DNS resolver configuration file. -# -install -m 644 files/resolv.conf "$ROOTFS_DIR/etc/" - ## # Save fake hardware clock time for more realistic time after startup. #