summaryrefslogtreecommitdiffstats
path: root/move
diff options
context:
space:
mode:
Diffstat (limited to 'move')
-rw-r--r--move/move.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/move/move.pm b/move/move.pm
index 09b3e21de..7654d11f3 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -254,6 +254,7 @@ unplug it, remove write protection, and then plug it again.")),
unlink '/home/.touched';
my $wait = $o->wait_message(N("Setting up USB key"), N("Please wait, setting up system configuration files on USB key..."));
+
mkdir '/home/.sysconf';
my $sysconf = '/home/.sysconf/' . machine_ident();
if (!-d $sysconf) {
@@ -271,7 +272,11 @@ unplug it, remove write protection, and then plug it again.")),
symlinkf($_, $path);
}
}
+ #- /etc/sudoers can't be a link
+ unlink($_), system("cp /image/$_ $_") foreach qw(/etc/sudoers);
+
$wait = undef;
+
}
sub install2::startMove {