From 1a9a0869d62eb179fa65dcd714675d6e17bc20e1 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Mon, 3 Aug 2015 14:38:51 +0200 Subject: sshdcond.inc - fix boot check to use platform_booting() --- config/sshdcond/sshdcond.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'config/sshdcond') 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(); -- cgit v1.2.3