summaryrefslogtreecommitdiffstats
path: root/move/move.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-11-06 12:59:27 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-11-06 12:59:27 +0000
commit31d4006433d0638cdd7ed8cea499d270cd812f6e (patch)
tree333de3d9defad7412ad5b91eab772694eb2659c9 /move/move.pm
parenta92bad8ff85ca2d2d96b9b906718e1fd7d99e399 (diff)
downloaddrakx-31d4006433d0638cdd7ed8cea499d270cd812f6e.tar
drakx-31d4006433d0638cdd7ed8cea499d270cd812f6e.tar.gz
drakx-31d4006433d0638cdd7ed8cea499d270cd812f6e.tar.bz2
drakx-31d4006433d0638cdd7ed8cea499d270cd812f6e.tar.xz
drakx-31d4006433d0638cdd7ed8cea499d270cd812f6e.zip
have the basic fstab copied
link xinetd.conf syslog.conf and sysctl.conf
Diffstat (limited to 'move/move.pm')
-rw-r--r--move/move.pm9
1 files changed, 4 insertions, 5 deletions
diff --git a/move/move.pm b/move/move.pm
index f4e6c0fdb..22e3cfd9b 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -34,9 +34,8 @@ sub init {
touch '/etc/modules.conf';
symlinkf "/proc/mounts", "/etc/mtab";
- #- to be able to adduser, one need to have /etc/passwd and /etc/group writable
- #- sudoers must a file, not a symlink
- system("cp /image/etc/{passwd,group,sudoers} /etc");
+ #- these files need be writable but we need a sensible first contents
+ system("cp /image/etc/$_ /etc") foreach qw(passwd group sudoers fstab);
mkdir_p("/etc/$_"), system("cp -R /image/etc/$_/* /etc/$_") foreach qw(cups profile.d sysconfig/network-scripts);
@@ -44,8 +43,8 @@ sub init {
symlinkf_short("/image/etc/$_", "/etc/$_")
foreach qw(alternatives shadow man.config services shells pam.d security inputrc ld.so.conf
DIR_COLORS bashrc profile rc.d init.d devfsd.conf gtk-2.0 pango fonts modules.devfs
- dynamic gnome-vfs-2.0 gnome-vfs-mime-magic gtk gconf menu menu-methods nsswitch.conf default login.defs
- skel ld.so.cache openoffice xinetd.d);
+ dynamic hotplug gnome-vfs-2.0 gnome-vfs-mime-magic gtk gconf menu menu-methods nsswitch.conf default login.defs
+ skel ld.so.cache openoffice xinetd.d xinetd.conf syslog.conf sysctl.conf);
symlinkf_short("/image/etc/X11/$_", "/etc/X11/$_")
foreach qw(encodings.dir app-defaults applnk fs lbxproxy proxymngr rstart wmsession.d xinit.d xinit xkb xserver xsm);