d is symlink to d_tmp

main
jebba 2022-02-04 17:18:41 -07:00
parent 6975c074bb
commit 1fab41c5bc
1 changed files with 7 additions and 2 deletions

View File

@ -107,11 +107,16 @@ Notes on SSH keys before OpenPilot is installed:
```
root@tici:~# grep ^AuthorizedKeysFile /etc/ssh/sshd_config
AuthorizedKeysFile /data/params/d/GithubSshKeys
root@tici:~# cat /data/params/d/GithubSshKeys
root@tici:/# ls -l /data/params/
total 4
lrwxrwxrwx 1 comma comma 18 Feb 4 23:52 d -> /data/params/d_tmp
drwxr-xr-x 2 comma comma 4096 Feb 4 23:52 d_tmp
root@tici:~# cat /data/params/d_tmp/GithubSshKeys
from="10.0.0.0/8,172.16.0.0/12,192.168.0.0/16" ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+iXXq30Tq+J5NKat3KWHCzcmwZ55nGh6WggAqECa5CasBlM9VeROpVu3beA+5h0MibRgbD4DMtVXBt6gEvZ8nd04E7eLA9LTZyFDZ7SkSOVj4oXOQsT0GnJmKrASW5KslTWqVzTfo2XCtZ+004ikLxmyFeBO8NOcErW1pa8gFdQDToH9FrA7kgysic/XVESTOoe7XlzRoe/eZacEQ+jtnmFd21A4aEADkk00Ahjr0uKaJiLUAPatxs2icIXWpgYtfqqtaKF23wSt61OTu6cAwXbOWr3m+IUSRUO0IRzEIQS3z1jfd1svgzSgSSwZ1Lhj4AoKxIEAIc8qJrO4uymCJ public
```
Other keys of note. The `/data` dir is read-write, but `/etc` is read-only.
So it looks like it is doing an overlay with `rw` data from here, for
example with the SSH keys: