use disk/by-id if possibe, other small fixes
[automated-distro-installer] / arch-init
index aae184f99e3d31a4054cf2c0573767bea651bec6..c4f573fbd044b582d812a2b3edf37c8dfc8537e2 100755 (executable)
--- a/arch-init
+++ b/arch-init
@@ -33,6 +33,9 @@ case $hostname in
         exit 1
 esac
 
+if [[ -e /root/devbyid ]]; then
+    mv /root/devbyid /usr/bin
+fi
 
 rm -f /etc/pacman.d/mirrorlist
 # https://wiki.archlinux.org/index.php/Mirrors#Sorting_mirrors