code cleanup, arch fixes
[automated-distro-installer] / arch-init-remote
index 5bcfc3b7bff8153339bb8286d3e5eb6de94c919c..6e460a5f0b15cc26f383b3c36bca8ebadd4d0ef3 100755 (executable)
@@ -41,11 +41,10 @@ if [[ -e  /var/cache/pacman/pkg ]]; then
     darkhttpd /var/cache/pacman/pkg &
     mirror=http://$HOSTNAME:8080
 fi
-faid=/a/bin/fai
 
 rsync -rlpthvi --relative /a/bin/fai/ root@$host:/
 rsync /a/bin/fai/ root@$host:/a/bin/fai/
-sudo scp -r /a/bin/devbyid /q/root/luks /q/root/shadow root@$host:
+sudo scp -r /a/bin/fai/devbyid /q/root/luks /q/root/shadow root@$host:
 # creating shadow file string:
 # on debian, you can use mkpasswd -m sha-512 to generate a pass.
 # arch doesn't have this program. instead, you can do passwd,