blob: 71fd1adb9735583184d0c9ff2743d7aadd30c829 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
set -eu
cfg_script="$0"
cfg_srcdir=$(cd -- "${cfg_script%/*}/" ; pwd -P)
source /root/config/private/config/server.ports
sed -e 's/@ssh_port@/'${ssh_port}'/g' \
"${cfg_srcdir}/sshd_config.in"
|