X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=wrt-setup-local;h=b0635a1856ac2f58bb3a84500f0092d1a04f288c;hb=43fcfaa6bcf02035141025b12a408a5ef10833f3;hp=8b7e4c98bcce3e4092f8ae247e8bc0e4555692a5;hpb=37464725aeecf468265275c0be0963858511398b;p=automated-distro-installer diff --git a/wrt-setup-local b/wrt-setup-local index 8b7e4c9..b0635a1 100755 --- a/wrt-setup-local +++ b/wrt-setup-local @@ -256,6 +256,10 @@ EOF uset dropbear.@dropbear[0].PasswordAuth 0 uset dropbear.@dropbear[0].RootPasswordAuth 0 uset dropbear.@dropbear[0].Port 2220 +if ! cmp -s /root/dropbear_rsa_host_key /etc/dropbear/dropbear_rsa_host_key; then + cp /root/dropbear_rsa_host_key /etc/dropbear/dropbear_rsa_host_key + dropbear_restart=true +fi wireless_restart=false key=pictionary49 @@ -312,84 +316,103 @@ v cedit /etc/config/firewall <