Projet

Général

Profil

« Précédent | Suivant » 

Révision c69d32f6

Ajouté par Renato Botelho il y a presque 10 ans

Add full path for dmesg and replace backtick by exec

Voir les différences:

etc/inc/config.inc
121 121
		if (strstr($g['platform'], "cdrom")) {
122 122
			/* config is on floppy disk for CD-ROM version */
123 123
			$cfgdevice = $cfgpartition = "fd0";
124
			$dmesg = `dmesg -a`;
124
			$_gb = exec('/sbin/dmesg -a', $dmesg);
125 125
			if(preg_match("/da0/", $dmesg) == true) {
126 126
				$cfgdevice = $cfgpartition = "da0" ;
127 127
				if (mwexec("/sbin/mount -r /dev/{$cfgdevice} /cf")) {

Formats disponibles : Unified diff