summaryrefslogtreecommitdiffstats
path: root/perl-install/commands.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/commands.pm')
-rw-r--r--perl-install/commands.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/commands.pm b/perl-install/commands.pm
index d5d511b8b..1369d5373 100644
--- a/perl-install/commands.pm
+++ b/perl-install/commands.pm
@@ -159,13 +159,13 @@ sub chown_ {
sub swapon {
@_ == 1 or die "swapon <file>\n";
- require swap;
- swap::swapon($_[0]);
+ require fs;
+ fs::swapon($_[0]);
}
sub swapoff {
@_ == 1 or die "swapoff <file>\n";
- require swap;
- swap::swapoff($_[0]);
+ require fs;
+ fs::swapoff($_[0]);
}
sub uncpio {
@@ -358,7 +358,7 @@ sub modprobe {
my $name = shift;
require modules;
modules::load_dependencies("/modules/modules.dep");
- modules::load([ $name, @_ ]);
+ modules::load_with_options([ $name ], { $name => join(' ', @_) });
}
sub route {