From d1e486a9be8f3a2a8a3ee26027841a9971c466cc Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 13 Nov 2003 18:46:27 +0000 Subject: 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'. --- move/move.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'move') 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; -- cgit v1.2.1