summaryrefslogtreecommitdiff
path: root/scripts/installer.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 17:47:44 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 17:47:44 +0100
commit4bac1f97b9990e70d71639ed1678a4256cc26098 (patch)
tree67500bfe9f22454328114327afe5cf8f92b1c717 /scripts/installer.sh
parent9752813e90d663aab55c33d3877886a9013f36db (diff)
added default cmd option
Diffstat (limited to 'scripts/installer.sh')
-rwxr-xr-xscripts/installer.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/installer.sh b/scripts/installer.sh
index c974951..589574d 100755
--- a/scripts/installer.sh
+++ b/scripts/installer.sh
@@ -115,6 +115,7 @@ install_base () {
}
copy_resolvconf () {
+ [ ! -d $sysroot/etc ] && mkdir $sysroot/etc
cp /etc/resolv.conf $sysroot/etc/resolv.conf
}