Commit 65ab157c authored by Ad Schellevis's avatar Ad Schellevis
parent fc27ba4c
......@@ -124,7 +124,7 @@ else if ($g['booting'] && !file_exists('/cf/conf/config.xml')) {
if (strstr($mountdisk, "md"))
continue;
if (mwexec("/sbin/mount -r /dev/{$mountdisk}a {$g['cf_path']}") == 0) {
if (file_exists('cf/conf/config.xml')) {
if (file_exists('/cf/conf/config.xml')) {
/* found it */
$cfgdevice = $mountdisk;
$cfgpartition = $cfgdevice . "a";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment