summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install/commands.pm11
1 files changed, 1 insertions, 10 deletions
diff --git a/perl-install/install/commands.pm b/perl-install/install/commands.pm
index f89002a27..f93a8c8ef 100644
--- a/perl-install/install/commands.pm
+++ b/perl-install/install/commands.pm
@@ -5,7 +5,7 @@ package install::commands; # $Id: commands.pm 263616 2009-11-19 18:11:25Z blino
#- true, false, cat, which, dirname, basename, rmdir, lsmod, grep, tr,
#- mount, mkdir, mknod, ln, rm, chmod, chown, swapon,
#- swapoff, ls, cp, ps, dd, head, tail, strings, hexdump, more,
-#- modprobe, route, df, kill, lspci, lssbus, dmesg, sort, du,
+#- route, df, kill, lspci, lssbus, dmesg, sort, du,
#-########################################################################
use diagnostics;
@@ -290,15 +290,6 @@ sub more {
}
}
-sub modprobe {
- my ($h) = getopts(\@_, qw(h));
- $h || @_ == 0 and die "usage: modprobe <module> [options]\n";
- my $name = shift;
- require modules;
- list_modules::load_default_moddeps();
- modules::load_with_options([ $name ], { $name => join(' ', @_) });
-}
-
sub route {
@_ == 0 or die "usage: route\nsorry, no modification handled\n";
my ($titles, @l) = cat_("/proc/net/route");