|
@@ -52,6 +52,10 @@ if [[ -e "$SSH_FILE" ]] ; then
|
|
|
chown bus:bus /home/bus/.ssh/id_rsa_bus
|
|
chown bus:bus /home/bus/.ssh/id_rsa_bus
|
|
|
chmod a-rwx /home/bus/.ssh/id_rsa_bus
|
|
chmod a-rwx /home/bus/.ssh/id_rsa_bus
|
|
|
chmod u+r /home/bus/.ssh/id_rsa_bus
|
|
chmod u+r /home/bus/.ssh/id_rsa_bus
|
|
|
|
|
+ cp -L -f "$SSH_FILE" /etc/ppp/id_rsa_bus
|
|
|
|
|
+ chown root:root /etc/ppp/id_rsa_bus
|
|
|
|
|
+ chmod a-rwx /etc/ppp/id_rsa_bus
|
|
|
|
|
+ chmod u+r /etc/ppp/id_rsa_bus
|
|
|
else
|
|
else
|
|
|
echo "# FILE NOT FOUND (SSH id_rsa): $SSH_FILE"
|
|
echo "# FILE NOT FOUND (SSH id_rsa): $SSH_FILE"
|
|
|
fi
|
|
fi
|