summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-11-13 18:46:27 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-11-13 18:46:27 +0000
commitd1e486a9be8f3a2a8a3ee26027841a9971c466cc (patch)
tree32b43eebbc7dbae31763edc096258d9817b3d379
parent7acd61f30fc1a1da6674d3a695f525282445561f (diff)
downloaddrakx-d1e486a9be8f3a2a8a3ee26027841a9971c466cc.tar
drakx-d1e486a9be8f3a2a8a3ee26027841a9971c466cc.tar.gz
drakx-d1e486a9be8f3a2a8a3ee26027841a9971c466cc.tar.bz2
drakx-d1e486a9be8f3a2a8a3ee26027841a9971c466cc.tar.xz
drakx-d1e486a9be8f3a2a8a3ee26027841a9971c466cc.zip
be sure to restart network after configuring it, since programs such as KDE will have great trouble with loopback interface (it seems) otherwise. don't configure network nor restart it when doing test (nfs) 'install'.
-rw-r--r--move/move.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/move/move.pm b/move/move.pm
index 0556eaecd..2af0d7d54 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -216,7 +216,12 @@ sub install2::startMove {
#- automatic printer, timezone, network configs
require install_steps_interactive;
- install_steps_interactive::configureNetwork($o);
+ if (!any { /nfs/ } cat_('/proc/mounts')) {
+ install_steps_interactive::configureNetwork($o);
+ #- seems that applications have trouble with the loopback interface
+ #- after successful network configuration if we don't do that
+ run_program::run('/sbin/service', 'network', 'restart');
+ }
install_steps_interactive::summaryBefore($o);
require install_any;