aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/freenas/pkg/freenas_services.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/freenas/pkg/freenas_services.inc b/packages/freenas/pkg/freenas_services.inc
index 748a9e65..91f740e7 100644
--- a/packages/freenas/pkg/freenas_services.inc
+++ b/packages/freenas/pkg/freenas_services.inc
@@ -1390,7 +1390,7 @@ EOD;
file_put_contents("/usr/local/etc/avahi/services/rsync.service", $rsyncservice);
}
- if (isset($config['system']['enablesshd'])) {
+ if (isset($config['system']['ssh']['enable'])) {
$sshservice = str_replace("@PORT@",
"22",
$service_template);