summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-12-03 12:10:07 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-12-03 12:10:07 +0000
commit098761b262cb0a18641dde8e8823e2c42c441729 (patch)
tree15198a3442e0da8edcb3a919db2b0a6eed97e70d /perl-install/network
parent5b45d3c5a8c61f076370b6ca3d14abeeceed5009 (diff)
downloaddrakx-backup-do-not-use-098761b262cb0a18641dde8e8823e2c42c441729.tar
drakx-backup-do-not-use-098761b262cb0a18641dde8e8823e2c42c441729.tar.gz
drakx-backup-do-not-use-098761b262cb0a18641dde8e8823e2c42c441729.tar.bz2
drakx-backup-do-not-use-098761b262cb0a18641dde8e8823e2c42c441729.tar.xz
drakx-backup-do-not-use-098761b262cb0a18641dde8e8823e2c42c441729.zip
make it $::testing aware
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/tools.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm
index 48809e8ef..4d84c4baa 100644
--- a/perl-install/network/tools.pm
+++ b/perl-install/network/tools.pm
@@ -222,6 +222,7 @@ sub disconnected {}
sub write_initscript {
+ $::testing and return;
output_with_perm("$prefix/etc/rc.d/init.d/internet", 0755,
sprintf(<<'EOF', $connect_file, $connect_file, $disconnect_file, $disconnect_file));
#!/bin/bash