diff options
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r-- | perl-install/any.pm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index b8e5e54cc..2e97c9bc5 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -1176,4 +1176,13 @@ sub config_dvd { } } +sub config_mtools { + my ($prefix) = @_; + my ($f1, $f2) = detect_devices::floppies_dev(); + substInFile { + s|drive a: file="(.*?)"|drive a: file="/dev/$f1"|; + s|drive b: file="(.*?)"|drive b: file="/dev/$f2"| if $f2; + } "$prefix/etc/mtools.conf" +} + 1; |