Fixed dropbear SSH_PORT not being rendered
This commit is contained in:
parent
b283f82d9a
commit
bb645cf2d7
2
vps
2
vps
|
@ -47,7 +47,7 @@ setup_chroot() {
|
|||
|
||||
>/var/log/lastlog && chattr +i /var/log/lastlog
|
||||
|
||||
printf '#!/bin/sh\nexec 2>&1\n[ -r conf ] && . ./conf\nexec dropbear -p $SSH_PORT -R -m -w -t -T 1 -R\n' > /etc/sv/dropbear/run
|
||||
printf '#!/bin/sh\nexec 2>&1\n[ -r conf ] && . ./conf\nexec dropbear -p '"$SSH_PORT"' -R -m -w -t -T 1 -F 2>&1\n' > /etc/sv/dropbear/run
|
||||
printf "\nexport HISTFILE=/dev/null\nexport LESSHISTFILE=/dev/null\nexport PYTHONHISTFILE=/dev/null\n" >> /etc/profile
|
||||
printf "set boldtext\nset minibar\nset nohelp\nset nowrap\nset quickblank\nset tabsize 4\nunbind ^J main\nset selectedcolor black,red\ninclude \"/usr/share/nano/*.nanorc\"\n" > /etc/nanorc
|
||||
echo "hsts=0" >> /etc/wgetrc
|
||||
|
|
Loading…
Reference in New Issue