diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-01-20 10:17:26 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-01-20 10:17:26 +0000 |
commit | 7439b0e43e5cfabfde8833a89d302cce5786fa84 (patch) | |
tree | 3c0f81dd29cafbeccea9acbe1c12cf81f5f13022 /perl-install/harddrake/sound.pm | |
parent | 0519d6e2c1b5dca80c9ebe2c63610bfb1b011408 (diff) | |
download | drakx-7439b0e43e5cfabfde8833a89d302cce5786fa84.tar drakx-7439b0e43e5cfabfde8833a89d302cce5786fa84.tar.gz drakx-7439b0e43e5cfabfde8833a89d302cce5786fa84.tar.bz2 drakx-7439b0e43e5cfabfde8833a89d302cce5786fa84.tar.xz drakx-7439b0e43e5cfabfde8833a89d302cce5786fa84.zip |
make all chkconfig calls be chrooted
Diffstat (limited to 'perl-install/harddrake/sound.pm')
-rw-r--r-- | perl-install/harddrake/sound.pm | 2 |
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; |