Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149211477
D35109.1789682763.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
617 B
Referenced Files
None
Subscribers
None
D35109.1789682763.diff
View Options
Index: usr.sbin/freebsd-update/freebsd-update.sh
===================================================================
--- usr.sbin/freebsd-update/freebsd-update.sh
+++ usr.sbin/freebsd-update/freebsd-update.sh
@@ -3028,6 +3028,13 @@
env DESTDIR=${BASEDIR} certctl rehash
fi
+ # Restart sshd if running (PR263489)
+ if service sshd status >/dev/null 2>/dev/null; then
+ echo
+ echo "Restarting sshd after upgrade"
+ service sshd restart
+ fi
+
# Rebuild generated pwd files and /etc/login.conf.db.
pwd_mkdb -d ${BASEDIR}/etc -p ${BASEDIR}/etc/master.passwd
cap_mkdb ${BASEDIR}/etc/login.conf
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 17, 10:06 PM (5 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29739929
Default Alt Text
D35109.1789682763.diff (617 B)
Attached To
Mode
D35109: freebsd-update: restart sshd after upgrade
Attached
Detach File
Event Timeline
Log In to Comment