aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/feed/exception/feed_unavailable_exception.php
blob: 4b6605b47d130e521ba49a7de75f469e761d9be5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
/**
 *
 * This file is part of the phpBB Forum Software package.
 *
 * @copyright (c) phpBB Limited <https://www.phpbb.com>
 * @license GNU General Public License, version 2 (GPL-2.0)
 *
 * For full copyright and license information, please see
 * the docs/CREDITS.txt file.
 *
 */

namespace phpbb\feed\exception;

abstract class feed_unavailable_exception extends feed_exception
{

}
e='author'>author
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-03-06 21:18:07 +0000
committerFrancois Pons <fpons@mandriva.com>2003-03-06 21:18:07 +0000
commitefc82b81e54d081bd9230e8f423eb15ba35a6dab (patch)
tree2ae63dfa76c5b2ea7366374a471e917d8f018a80 /perl-install
parent303e42e0e48e55b080dc52d7f6a4588959f41d8c (diff)
downloaddrakx-efc82b81e54d081bd9230e8f423eb15ba35a6dab.tar
drakx-efc82b81e54d081bd9230e8f423eb15ba35a6dab.tar.gz
drakx-efc82b81e54d081bd9230e8f423eb15ba35a6dab.tar.bz2
drakx-efc82b81e54d081bd9230e8f423eb15ba35a6dab.tar.xz
drakx-efc82b81e54d081bd9230e8f423eb15ba35a6dab.zip
avoid virtual ethX to be reconfigured by drakconnect
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/drakxtools.spec2
-rw-r--r--perl-install/network/ethernet.pm12
2 files changed, 7 insertions, 7 deletions
diff --git a/perl-install/drakxtools.spec b/perl-install/drakxtools.spec
index d8f0aaf48..351308b73 100644
--- a/perl-install/drakxtools.spec
+++ b/perl-install/drakxtools.spec
@@ -291,6 +291,8 @@ file /etc/sysconfig/harddrake2/previous_hw | fgrep -q perl && %_datadir/harddrak
%config(noreplace) %_sysconfdir/logrotate.d/drakxtools-http
%changelog
+- avoid virtual ethX to be reconfigured by drakconnect (francois)
+
* Thu Mar 6 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.1-17mdk
- draksplash:
o fix #1766
diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm
index 9dc6d9b1c..6d2a5b48a 100644
--- a/perl-install/network/ethernet.pm
+++ b/perl-install/network/ethernet.pm
@@ -148,7 +148,7 @@ sub conf_network_card_backend {
$netc->{NET_DEVICE} = $interface; #- one consider that there is only ONE Internet connection device..
- @{$intf->{$interface}}{qw(DEVICE BOOTPROTO NETMASK NETWORK ONBOOT)} = ($interface, $type, '255.255.255.0', $netadr, 'yes');
+ @{$intf->{$interface}}{qw(DEVICE BOOTPROTO NETMASK NETWORK ONBOOT)} = ($interface, $type, '255.255.255.0', $netadr, 'yes');
$intf->{$interface}{IPADDR} = $ipadr if $ipadr;
$interface;
@@ -166,20 +166,18 @@ sub configureNetwork {
my ($netc, $intf, $_first_time) = @_;
local $_;
modules::interactive::load_category($in, 'network/main|gigabit|usb|pcmcia', !$::expert, 1) or return;
- my @l = detect_devices::getNet() or die \N("no network card found");
my @all_cards = conf_network_card_backend($netc, $intf);
+ my @l = map { $_->[0] } @all_cards;
configureNetwork_step_1:
- my $n_card = 0;
$netc ||= {};
- my $last; foreach (@l) {
- my $intf2 = findIntf($intf ||= {}, $_);
+ my $last; foreach (@all_cards) {
+ my $intf2 = findIntf($intf ||= {}, $_->[0]);
add2hash($intf2, $last);
add2hash($intf2, { NETMASK => '255.255.255.0' });
- configureNetworkIntf($netc, $in, $intf2, $netc->{NET_DEVICE}, 0, $all_cards[$n_card][1]) or return;
+ configureNetworkIntf($netc, $in, $intf2, $netc->{NET_DEVICE}, 0, $_->[1]) or return;
$last = $intf2;
- $n_card++;
}
$last or return;