diff options
-rw-r--r-- | move/move.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/move/move.pm b/move/move.pm index a341de1a1..f39c3e983 100644 --- a/move/move.pm +++ b/move/move.pm @@ -54,8 +54,9 @@ sub init { #- these files need be writable but we need a sensible first contents system("cp /image/etc/$_ /etc") foreach qw(passwd group sudoers fstab); + #- these files are typically opened in read-write mode, we need them copied mkdir_p("/etc/$_"), system("cp -R /image/etc/$_/* /etc/$_") - foreach qw(cups profile.d sysconfig/network-scripts devfs/conf.d); + foreach qw(cups profile.d sysconfig sysconfig/network-scripts devfs/conf.d); #- directories we badly need as non-links because files will be written in handle_etcfiles('DIR'); |