summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-06-20 23:19:18 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-06-20 23:19:18 +0000
commite64719bb69facfc630f112f313575ca6cf352303 (patch)
treecccdb5ffb0d056bd4c6d13e39ce240fc12b1ea61 /perl-install
parentf727683265c79b05812173831a8f3a557292f249 (diff)
downloaddrakx-e64719bb69facfc630f112f313575ca6cf352303.tar
drakx-e64719bb69facfc630f112f313575ca6cf352303.tar.gz
drakx-e64719bb69facfc630f112f313575ca6cf352303.tar.bz2
drakx-e64719bb69facfc630f112f313575ca6cf352303.tar.xz
drakx-e64719bb69facfc630f112f313575ca6cf352303.zip
do not uselessy fork shells
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/service_harddrake4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index 90a0266ca..c40ba9350 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -97,7 +97,7 @@ foreach my $hw_class (@harddrake::data::tree) {
}
if ($Ident eq "AUDIO") {
# automatic sound slots configuration
- system("rm -f /etc/asound.state");
+ rm_rf("/etc/asound.state");
harddrake::sound::configure_sound_slots();
next;
} elsif ($Ident eq "ETHERNET") {
@@ -121,7 +121,7 @@ foreach my $hw_class (@harddrake::data::tree) {
if (!$hw_class->{automatic}) {
$SIG{ALRM} = sub { $no = 1; kill 15, $pid };
unless ($pid = fork()) {
- $splash and !system('echo verbose > /proc/splash') and $splash = 0;
+ $splash and eval { output('/proc/splash', 'verbose') } and $splash = 0;
exec("/usr/share/harddrake/confirm", $Ident, $timeout, $msg);
}
alarm($timeout);