diff --git a/clone/clone b/clone/clone index 0d2a6e6..fbba3a0 100755 --- a/clone/clone +++ b/clone/clone @@ -205,7 +205,7 @@ step6(){ # (8) Define config alias with ssh-key # echo " (.) Define alias config"; - echo "Host\tsmmp-server\n\tHostname\t$SERVER_HOSTNAME\n\tUser\t$SERVER_USERNAME\n\tIdentityFile\t~/.ssh/id_ecdsa\n\tStrictHostKeyChecking\tno" | sudo tee /mnt/home/sats/.ssh/config > /dev/null; + echo -e "Host\tsmmp-server\n\tHostname\t$SERVER_HOSTNAME\n\tUser\t$SERVER_USERNAME\n\tIdentityFile\t~/.ssh/id_ecdsa\n\tStrictHostKeyChecking\tno" | sudo tee /mnt/home/sats/.ssh/config > /dev/null; sudo chown 666:666 /mnt/home/sats/.ssh/config; sudo chmod 444 /mnt/home/sats/.ssh/config; diff --git a/clone/utility/sats-boot-process.service b/clone/utility/sats-boot-process.service index def5600..324998c 100644 --- a/clone/utility/sats-boot-process.service +++ b/clone/utility/sats-boot-process.service @@ -6,7 +6,7 @@ Type=oneshot RemainAfterExit=yes User=pi Group=pi -ExecStart=/bin/sh /home/pi/sats-install +ExecStart=/bin/sh /home/pi/sats-boot-process [Install] WantedBy=multi-user.target