From 7439b0e43e5cfabfde8833a89d302cce5786fa84 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 20 Jan 2003 10:17:26 +0000 Subject: make all chkconfig calls be chrooted --- perl-install/harddrake/sound.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/harddrake') 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; -- cgit v1.2.1