summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-02-27 12:24:16 +0000
committerOlivier Blin <oblin@mandriva.org>2006-02-27 12:24:16 +0000
commit72c2b75440ba3e7f49cdefb7d7f2d11550e0e366 (patch)
tree577d7a856952a5cc9d64f8e6fb567a1a684210e9 /tools
parent2789c08ed93f6f9849b4d5c10d21074b1401f3da (diff)
downloaddrakx-backup-do-not-use-72c2b75440ba3e7f49cdefb7d7f2d11550e0e366.tar
drakx-backup-do-not-use-72c2b75440ba3e7f49cdefb7d7f2d11550e0e366.tar.gz
drakx-backup-do-not-use-72c2b75440ba3e7f49cdefb7d7f2d11550e0e366.tar.bz2
drakx-backup-do-not-use-72c2b75440ba3e7f49cdefb7d7f2d11550e0e366.tar.xz
drakx-backup-do-not-use-72c2b75440ba3e7f49cdefb7d7f2d11550e0e366.zip
simplify
Diffstat (limited to 'tools')
-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)