aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/sshdcond/sshdcond.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/config/sshdcond/sshdcond.inc b/config/sshdcond/sshdcond.inc
index b4d8aa16..ea3030a9 100644
--- a/config/sshdcond/sshdcond.inc
+++ b/config/sshdcond/sshdcond.inc
@@ -68,10 +68,8 @@ function sshdcond_custom_php_write_config() {
global $g, $config, $pkg_interface;
/* Detect boot process, do nothing during boot. */
- if ($g['booting']) {
- if ($pkg_interface == "console") {
+ if (platform_booting()) {
return;
- }
}
conf_mount_rw();