Copied .bashrc from pi to gain interactivity
This commit is contained in:
parent
a85826e8cc
commit
33afd08122
|
@ -138,6 +138,11 @@ step5(){
|
|||
# remove temporary file
|
||||
#sudo rm /mnt/etc/shadow.tmp;
|
||||
|
||||
echo " (.) Copying pi's .bashrc to sats-user";
|
||||
sudo cp /mnt/home/pi/.bashrc /mnt/home/sats-user/.bashrc;
|
||||
sudo chown 666:666 /mnt/home/sats-user/.bashrc;
|
||||
sudo chmod 544 /mnt/home/sats-user/.bashrc;
|
||||
|
||||
echo "<<< done";
|
||||
|
||||
step6;
|
||||
|
@ -211,7 +216,6 @@ step7(){
|
|||
|
||||
# (8) Set up automatic ssh server at start up #
|
||||
echo " (.) Trigger ssh server on start up"
|
||||
sudo touch /mnt/home/sats-user/.bashrc;
|
||||
echo "sudo service ssh restart" | sudo tee -a /mnt/home/pi/.bashrc > /dev/null;
|
||||
echo "sudo service ssh restart" | sudo tee -a /mnt/home/sats-user/.bashrc > /dev/null;
|
||||
sudo chown 666:666 /mnt/home/sats-user/.bashrc;
|
||||
|
|
Loading…
Reference in New Issue