diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-01-18 21:07:18 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-01-18 21:07:18 +0000 |
commit | d4530df940aeb1b301456510f1befdc4076f8c33 (patch) | |
tree | b07cf45d2ccfa91f9885e096f5fafe16ab77a8e1 /perl-install | |
parent | ee67c3fa110848a0e44f903b32929f0406a3b00f (diff) | |
download | drakx-d4530df940aeb1b301456510f1befdc4076f8c33.tar drakx-d4530df940aeb1b301456510f1befdc4076f8c33.tar.gz drakx-d4530df940aeb1b301456510f1befdc4076f8c33.tar.bz2 drakx-d4530df940aeb1b301456510f1befdc4076f8c33.tar.xz drakx-d4530df940aeb1b301456510f1befdc4076f8c33.zip |
kill perl implementation of modprobe now that we've the real one
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install/commands.pm | 11 |
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"); |