mirror of
https://github.com/webmin/webmin.git
synced 2025-07-23 00:30:33 +00:00
Added a button to remove a detached partition, thanks to Caspar Smit.
This commit is contained in:
@ -87,6 +87,13 @@ elsif ($in{'remove'}) {
|
||||
&webmin_log("remove", undef, $old->{'value'}, { 'disk' => $in{'rdisk'} } );
|
||||
&redirect("");
|
||||
}
|
||||
elsif ($in{'remove_det'}) {
|
||||
# Remove detached disk(s) from a RAID set
|
||||
&lock_raid_files();
|
||||
&remove_detached($old);
|
||||
&unlock_raid_files();
|
||||
&redirect("");
|
||||
}
|
||||
elsif ($in{'mount'} || $in{'mountswap'}) {
|
||||
# Re-direct to mount module
|
||||
$type = $in{'mountswap'} ? "swap" :
|
||||
|
Reference in New Issue
Block a user