summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-12-03 20:41:10 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-12-03 20:41:10 +0000
commitef4a2962fe8071ef72a247a0974c5cb4edeafe71 (patch)
treea4ed10132634309d0bd0b756c7358bfefcdb15e3 /etc/inc/pfsense-utils.inc
parent6afa3a82fc62e1932f5d70703015f1c2a235fbe1 (diff)
downloadpfsense-ef4a2962fe8071ef72a247a0974c5cb4edeafe71.zip
pfsense-ef4a2962fe8071ef72a247a0974c5cb4edeafe71.tar.gz
Restart sshd during reload_all()
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 7335d22..848b5dd 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1378,7 +1378,10 @@ function reload_all_sync() {
conf_mount_rw();
mwexec("/usr/sbin/pwd_mkdb -d /etc/ /etc/master.passwd");
conf_mount_ro();
+
+ /* restart sshd */
+ touch("/tmp/start_sshd");
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud