summary refs log tree commit diff
path: root/nixos/modules/system/boot/stage-2-init.sh
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2014-11-26 11:19:31 -0800
committerWilliam A. Kennington III <william@wkennington.com>2014-11-26 16:29:24 -0800
commit1860ee27b0e4aae2cc0ed997e14b0d3289ce498f (patch)
tree09c605f6540a30bd074b74ea94760f1736c55f75 /nixos/modules/system/boot/stage-2-init.sh
parent4f2a041345445dc4727b3d56e7458552517e6cd5 (diff)
downloadnixpkgs-1860ee27b0e4aae2cc0ed997e14b0d3289ce498f.tar
nixpkgs-1860ee27b0e4aae2cc0ed997e14b0d3289ce498f.tar.gz
nixpkgs-1860ee27b0e4aae2cc0ed997e14b0d3289ce498f.tar.bz2
nixpkgs-1860ee27b0e4aae2cc0ed997e14b0d3289ce498f.tar.lz
nixpkgs-1860ee27b0e4aae2cc0ed997e14b0d3289ce498f.tar.xz
nixpkgs-1860ee27b0e4aae2cc0ed997e14b0d3289ce498f.tar.zst
nixpkgs-1860ee27b0e4aae2cc0ed997e14b0d3289ce498f.zip
nixos/networking: Fixes
Diffstat (limited to 'nixos/modules/system/boot/stage-2-init.sh')
-rw-r--r--nixos/modules/system/boot/stage-2-init.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/nixos/modules/system/boot/stage-2-init.sh b/nixos/modules/system/boot/stage-2-init.sh
index 6fff776f858..3762bda94a5 100644
--- a/nixos/modules/system/boot/stage-2-init.sh
+++ b/nixos/modules/system/boot/stage-2-init.sh
@@ -141,8 +141,6 @@ fi
 # Use /etc/resolv.conf supplied by systemd-nspawn, if applicable.
 if [ -n "@useHostResolvConf@" -a -e /etc/resolv.conf ]; then
     cat /etc/resolv.conf | resolvconf -m 1000 -a host
-else
-    touch /etc/resolv.conf
 fi