summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-01-20 10:17:26 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-01-20 10:17:26 +0000
commit7439b0e43e5cfabfde8833a89d302cce5786fa84 (patch)
tree3c0f81dd29cafbeccea9acbe1c12cf81f5f13022
parent0519d6e2c1b5dca80c9ebe2c63610bfb1b011408 (diff)
downloaddrakx-7439b0e43e5cfabfde8833a89d302cce5786fa84.tar
drakx-7439b0e43e5cfabfde8833a89d302cce5786fa84.tar.gz
drakx-7439b0e43e5cfabfde8833a89d302cce5786fa84.tar.bz2
drakx-7439b0e43e5cfabfde8833a89d302cce5786fa84.tar.xz
drakx-7439b0e43e5cfabfde8833a89d302cce5786fa84.zip
make all chkconfig calls be chrooted
-rw-r--r--perl-install/harddrake/sound.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index 365bc42fe..adde8778d 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -153,7 +153,7 @@ sub do_switch {
rooted("service alsa start") unless $blacklisted;
rooted("/sbin/chkconfig --add alsa");
load($new_driver); # service alsa is buggy
- } else { run_program::run("/sbin/chkconfig --del alsa") }
+ } else { rooted("/sbin/chkconfig --del alsa") }
log::explanations("loading new $new_driver\n");
rooted("/sbin/chkconfig --add sound"); # just in case ...
rooted("service sound start") unless $blacklisted;