installer: Don't try to install /etc/hosts which does not exist
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Nov 2014 00:33:59 +0000 (01:33 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Nov 2014 00:33:59 +0000 (01:33 +0100)
src/installer/dracut-module/module-setup.sh

index 0173e95..08dcdd5 100755 (executable)
@@ -42,7 +42,7 @@ install() {
     inst /var/ipfire/dhcpc/dhcpcd-run-hooks
     inst "$moddir/70-dhcpcd.exe" "/var/ipfire/dhcpc/dhcpcd-hooks/70-dhcpcd.exe"
 
-    inst /etc/host.conf /etc/hosts /etc/protocols
+    inst /etc/host.conf /etc/protocols
     inst /etc/nsswitch.conf /etc/resolv.conf
     inst_libdir_file "libnss_dns.so.*"