|
|
@ -29,6 +29,7 @@ sudo abctl --set_success |
|
|
|
|
|
|
|
|
|
|
|
# patch sshd config |
|
|
|
# patch sshd config |
|
|
|
sudo mount -o rw,remount / |
|
|
|
sudo mount -o rw,remount / |
|
|
|
|
|
|
|
echo tici-$(cat /proc/cmdline | sed -e 's/^.*androidboot.serialno=//' -e 's/ .*$//') | sudo tee /etc/hostname |
|
|
|
sudo sed -i "s,/data/params/d/GithubSshKeys,/usr/comma/setup_keys," /etc/ssh/sshd_config |
|
|
|
sudo sed -i "s,/data/params/d/GithubSshKeys,/usr/comma/setup_keys," /etc/ssh/sshd_config |
|
|
|
sudo systemctl daemon-reload |
|
|
|
sudo systemctl daemon-reload |
|
|
|
sudo systemctl restart ssh |
|
|
|
sudo systemctl restart ssh |
|
|
|