From dddfb90059117e6dde52c09e79ba0c8672942b53 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 17 Apr 2000 15:42:29 +0000 Subject: no_comment --- perl-install/commands.pm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'perl-install/commands.pm') diff --git a/perl-install/commands.pm b/perl-install/commands.pm index 0c49dd87a..c7f75a447 100644 --- a/perl-install/commands.pm +++ b/perl-install/commands.pm @@ -172,20 +172,18 @@ sub chown_ { sub mkswap { @_ == 1 or die "mkswap \n"; - - require 'swap.pm'; + require swap; swap::enable($_[0], 0); } sub swapon { @_ == 1 or die "swapon \n"; - - require 'swap.pm'; + require swap; swap::swapon($_[0]); } sub swapoff { @_ == 1 or die "swapoff \n"; - require 'swap.pm'; + require swap; swap::swapoff($_[0]); } -- cgit v1.2.1