From 72c2b75440ba3e7f49cdefb7d7f2d11550e0e366 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 27 Feb 2006 12:24:16 +0000 Subject: simplify --- tools/draklive | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') 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) -- cgit v1.2.1