summaryrefslogtreecommitdiffstats
path: root/move
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-11-13 12:46:58 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-11-13 12:46:58 +0000
commitf9157dd6ca06417f1b8d8e3a8ed42478c9fb1ff7 (patch)
treecdeb5ce7ad63138639275c135aa24e1eb82f420e /move
parent4d52b5f0d02193776dc76451b3cee704d1f53cc6 (diff)
downloaddrakx-backup-do-not-use-f9157dd6ca06417f1b8d8e3a8ed42478c9fb1ff7.tar
drakx-backup-do-not-use-f9157dd6ca06417f1b8d8e3a8ed42478c9fb1ff7.tar.gz
drakx-backup-do-not-use-f9157dd6ca06417f1b8d8e3a8ed42478c9fb1ff7.tar.bz2
drakx-backup-do-not-use-f9157dd6ca06417f1b8d8e3a8ed42478c9fb1ff7.tar.xz
drakx-backup-do-not-use-f9157dd6ca06417f1b8d8e3a8ed42478c9fb1ff7.zip
/etc/sysconfig files badly need to be writable
Diffstat (limited to 'move')
-rw-r--r--move/move.pm3
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');