summaryrefslogtreecommitdiffstats
path: root/move/move.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-11-05 16:52:22 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-11-05 16:52:22 +0000
commitf9a813517e4c2d76e5b4e1731f1d9e029a5c784d (patch)
treeed76be079c3ef52e910de8389ccd2291bcffe610 /move/move.pm
parent68d279807f814790a8a711b0e39e340f663acc0d (diff)
downloaddrakx-f9a813517e4c2d76e5b4e1731f1d9e029a5c784d.tar
drakx-f9a813517e4c2d76e5b4e1731f1d9e029a5c784d.tar.gz
drakx-f9a813517e4c2d76e5b4e1731f1d9e029a5c784d.tar.bz2
drakx-f9a813517e4c2d76e5b4e1731f1d9e029a5c784d.tar.xz
drakx-f9a813517e4c2d76e5b4e1731f1d9e029a5c784d.zip
auto configure network
Diffstat (limited to 'move/move.pm')
-rw-r--r--move/move.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/move/move.pm b/move/move.pm
index 9a1abdf8a..6fb773dfc 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -30,7 +30,7 @@ sub init {
#- rw things
mkdir "/$_" foreach qw(home mnt root root/tmp etc var);
- mkdir "/etc/$_" foreach qw(X11 cups);
+ mkdir "/etc/$_" foreach qw(X11);
touch '/etc/modules.conf';
symlinkf "/proc/mounts", "/etc/mtab";
@@ -38,12 +38,12 @@ sub init {
#- sudoers must a file, not a symlink
system("cp /image/etc/{passwd,group,sudoers} /etc");
- system("cp -R /image/etc/cups/* /etc/cups");
+ mkdir_p("/etc/$_"), system("cp -R /image/etc/$_/* /etc/$_") foreach qw(cups profile.d sysconfig/network-scripts);
#- ro things
symlinkf_short("/image/etc/$_", "/etc/$_")
foreach qw(alternatives shadow man.config services shells pam.d security inputrc ld.so.conf
- DIR_COLORS bashrc profile profile.d rc.d init.d devfsd.conf gtk-2.0 pango fonts modules.devfs
+ 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);
symlinkf_short("/image/etc/X11/$_", "/etc/X11/$_")
@@ -102,6 +102,7 @@ sub install2::startMove {
#- automatic printer, timezone, network configs
require install_steps_interactive;
+ install_steps_interactive::configureNetwork($o);
install_steps_interactive::summaryBefore($o);
require install_any;