mirror of
https://github.com/webmin/webmin.git
synced 2025-07-23 00:30:33 +00:00
On some systems /proc/mdstat doesn't exist until the first RAID device is created https://github.com/webmin/webmin/issues/1736
This commit is contained in:
@ -4,9 +4,6 @@
|
||||
require './raid-lib.pl';
|
||||
|
||||
# Check if raid is installed
|
||||
if (!-r $config{'mdstat'}) {
|
||||
&error_exit(&text('index_emdstat', "<tt>$config{'mdstat'}</tt>"));
|
||||
}
|
||||
if (&has_command("mdadm")) {
|
||||
# Using mdadm commands
|
||||
$raid_mode = "mdadm";
|
||||
|
@ -2,7 +2,6 @@ index_title=Linux RAID
|
||||
index_none=No RAID devices configured.
|
||||
index_add=Create RAID device of level:
|
||||
index_return=RAID devices
|
||||
index_emdstat=The kernel RAID status file $1 does not exist on your system. Your kernel probably does not support RAID.
|
||||
index_eprogs=Neither the RAID tools or MDADM packages are installed on your system.
|
||||
index_mdadm=Using MDADM version $1
|
||||
index_raidtools=Using RaidTools
|
||||
|
Reference in New Issue
Block a user