From 99a3826e5565e26daf44b1139b6732be93a1b560 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Fri, 7 Nov 2003 11:49:58 +0000 Subject: Oops... I did it again! --- move/move.pm | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'move') diff --git a/move/move.pm b/move/move.pm index 62b0b8396..8354ebbe9 100644 --- a/move/move.pm +++ b/move/move.pm @@ -29,15 +29,7 @@ sub init { $::testing and goto drakx_stuff; #- rw things - mkdir "/$_" foreach qw(home mnt root root/tmp var); - - system("cp -a /image/etc /"); - symlinkf "/proc/mounts", "/etc/mtab"; - system("find /etc -type f > /tmp/filelist"); - touch '/dummy'; - m|^/var| && !-d $_ and mkdir_p $_ foreach chomp_(cat_('/image/move/directories-to-create')); - sleep 2; - goto meuh; + mkdir "/$_" foreach qw(home mnt root root/tmp etc var); mkdir "/etc/$_" foreach qw(X11); touch '/etc/modules.conf'; @@ -68,7 +60,6 @@ sub init { -d $_ or mkdir_p $_ foreach chomp_(cat_('/image/move/directories-to-create')); - meuh: #- free up stage1 memory fs::umount($_) foreach qw(/stage1/proc /stage1); -- cgit v1.2.1