summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-08-23 16:22:56 +0000
committerdamien <damien@mandriva.com>2001-08-23 16:22:56 +0000
commit51e49b593d09bcdc527901921e2187f2eec5e33a (patch)
treeccd654458ae06a223b3b35edc002a5564119ac3c
parentacd6626823cdaee319ed9c118580c7e63753ed8e (diff)
downloaddrakx-51e49b593d09bcdc527901921e2187f2eec5e33a.tar
drakx-51e49b593d09bcdc527901921e2187f2eec5e33a.tar.gz
drakx-51e49b593d09bcdc527901921e2187f2eec5e33a.tar.bz2
drakx-51e49b593d09bcdc527901921e2187f2eec5e33a.tar.xz
drakx-51e49b593d09bcdc527901921e2187f2eec5e33a.zip
restart network after having tested adsl. experimental
-rw-r--r--perl-install/network/adsl.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index ed8523c3c..ff12ed66f 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -70,6 +70,7 @@ sub adsl_detect {
run_program::rooted($prefix, "ifconfig $interface 10.0.0.10 netmask 255.255.255.0");
my $ret=run_program::rooted($prefix, "/bin/ping -c 1 10.0.0.138 2> /dev/null");
run_program::rooted($prefix, "ifconfig $interface 0.0.0.0 netmask 255.255.255.0");
+ run_program::rooted($prefix, "/etc/init.d/network restart");
$ret;
}