summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/draklive4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/draklive b/tools/draklive
index 948778edd..27165856d 100755
--- a/tools/draklive
+++ b/tools/draklive
@@ -481,8 +481,8 @@ sub post_install_system {
'perl', '-MStorable', '-e', qq(Storable::store({ UNKNOWN => {} }, '/etc/sysconfig/harddrake2/previous_hw')));
#- remove some build-machine specific configuration
- output(get_system_root($live) . $_, '') foreach qw(/etc/fstab /etc/mtab /etc/modprobe.conf);
- substInFile { undef $_ if /^[^#]/ } get_system_root($live) . '/etc/modprobe.preload';
+ substInFile { undef $_ if /^[^#]/ } get_system_root($live) . $_
+ foreach qw(/etc/fstab /etc/mtab /etc/modprobe.conf /etc/modprobe.preload);
#- run harddrake because a crappy snd-usb-audio workaround may do something at shutdown
#- (do it after the modprobe files are cleaned)