diff options
author | Francois Pons <fpons@mandriva.com> | 2000-04-25 16:12:35 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-04-25 16:12:35 +0000 |
commit | 25946f2b1829f207aab844f3464ce515a50f15cc (patch) | |
tree | a6141f24a052d20499f34fb6ea92738273eacd79 /perl-install/network.pm | |
parent | 4a62fb92b80fad9ba61cf0b4dd74fc5b03dcd94d (diff) | |
download | drakx-backup-do-not-use-25946f2b1829f207aab844f3464ce515a50f15cc.tar drakx-backup-do-not-use-25946f2b1829f207aab844f3464ce515a50f15cc.tar.gz drakx-backup-do-not-use-25946f2b1829f207aab844f3464ce515a50f15cc.tar.bz2 drakx-backup-do-not-use-25946f2b1829f207aab844f3464ce515a50f15cc.tar.xz drakx-backup-do-not-use-25946f2b1829f207aab844f3464ce515a50f15cc.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/network.pm')
-rw-r--r-- | perl-install/network.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/network.pm b/perl-install/network.pm index deb092992..ac0610c21 100644 --- a/perl-install/network.pm +++ b/perl-install/network.pm @@ -55,6 +55,11 @@ sub up_it { run_program::rooted($prefix, "/etc/rc.d/init.d/network", "start"); $_->{isUp} = 1 foreach @$intfs; } +sub down_it { + my ($prefix, $intfs) = @_; + run_program::rooted($prefix, "/etc/rc.d/init.d/network", "stop"); + $_->{isUp} = 1 foreach @$intfs; +} sub write_conf { my ($file, $netc) = @_; |