mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
Run sshd at boot time if the sysadmin wants it. Also install
ssh[d] config files in the right place.
This commit is contained in:
parent
0d854656e9
commit
93e3e5e9e3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57459
@ -20,6 +20,11 @@ BIN1= aliases amd.map apmd.conf auth.conf \
|
||||
${.CURDIR}/../usr.bin/mail/misc/mail.rc \
|
||||
${.CURDIR}/../usr.bin/locate/locate/locate.rc
|
||||
|
||||
.if !defined(NO_OPENSSH)
|
||||
BIN1+= ${.CURDIR}/../crypto/openssh/ssh_config \
|
||||
${.CURDIR}/../crypto/openssh/sshd_config
|
||||
.endif
|
||||
|
||||
# -rwxr-xr-x root.wheel, for the new cron root.wheel
|
||||
BIN2= netstart pccard_ether rc.suspend rc.resume
|
||||
|
||||
|
@ -603,6 +603,13 @@ network_pass3() {
|
||||
;;
|
||||
esac
|
||||
|
||||
case ${sshd_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
echo -n ' sshd';
|
||||
${sshd_program:-/usr/sbin/sshd} ${sshd_flags}
|
||||
;;
|
||||
esac
|
||||
|
||||
echo '.'
|
||||
network_pass3_done=YES
|
||||
}
|
||||
|
@ -603,6 +603,13 @@ network_pass3() {
|
||||
;;
|
||||
esac
|
||||
|
||||
case ${sshd_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
echo -n ' sshd';
|
||||
${sshd_program:-/usr/sbin/sshd} ${sshd_flags}
|
||||
;;
|
||||
esac
|
||||
|
||||
echo '.'
|
||||
network_pass3_done=YES
|
||||
}
|
||||
|
@ -603,6 +603,13 @@ network_pass3() {
|
||||
;;
|
||||
esac
|
||||
|
||||
case ${sshd_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
echo -n ' sshd';
|
||||
${sshd_program:-/usr/sbin/sshd} ${sshd_flags}
|
||||
;;
|
||||
esac
|
||||
|
||||
echo '.'
|
||||
network_pass3_done=YES
|
||||
}
|
||||
|
@ -603,6 +603,13 @@ network_pass3() {
|
||||
;;
|
||||
esac
|
||||
|
||||
case ${sshd_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
echo -n ' sshd';
|
||||
${sshd_program:-/usr/sbin/sshd} ${sshd_flags}
|
||||
;;
|
||||
esac
|
||||
|
||||
echo '.'
|
||||
network_pass3_done=YES
|
||||
}
|
||||
|
@ -603,6 +603,13 @@ network_pass3() {
|
||||
;;
|
||||
esac
|
||||
|
||||
case ${sshd_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
echo -n ' sshd';
|
||||
${sshd_program:-/usr/sbin/sshd} ${sshd_flags}
|
||||
;;
|
||||
esac
|
||||
|
||||
echo '.'
|
||||
network_pass3_done=YES
|
||||
}
|
||||
|
@ -603,6 +603,13 @@ network_pass3() {
|
||||
;;
|
||||
esac
|
||||
|
||||
case ${sshd_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
echo -n ' sshd';
|
||||
${sshd_program:-/usr/sbin/sshd} ${sshd_flags}
|
||||
;;
|
||||
esac
|
||||
|
||||
echo '.'
|
||||
network_pass3_done=YES
|
||||
}
|
||||
|
@ -603,6 +603,13 @@ network_pass3() {
|
||||
;;
|
||||
esac
|
||||
|
||||
case ${sshd_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
echo -n ' sshd';
|
||||
${sshd_program:-/usr/sbin/sshd} ${sshd_flags}
|
||||
;;
|
||||
esac
|
||||
|
||||
echo '.'
|
||||
network_pass3_done=YES
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user