I have two suggestions for the sshd script that improved it's
performance here.

I added this entry for key checking:

===========================================================
if [ ! -f /etc/ssh/ssh_host_ecdsa_key ]; then
  boot_mesg "Generating /etc/ssh/ssh_host_ecdsa_key"
  ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N ''
  evaluate_retval
fi
===========================================================

and changed;
  echo "-16" >/proc/`cat $pidfile`/oom_adj
to read;
  echo "-16" >/proc/`cat $pidfile`/oom_score_adj
which is more in step with newer kernels and eliminates a kernel warning
about oom_adj.

Other than that everything is working as advertised ... so far.  :-)

Life is good,
Maurice

_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org

Reply via email to