From d4530df940aeb1b301456510f1befdc4076f8c33 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 18 Jan 2013 21:07:18 +0000 Subject: kill perl implementation of modprobe now that we've the real one --- perl-install/install/commands.pm | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'perl-install/install') 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 [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"); -- cgit v1.2.1