/[libconf]/libconf/perl-Libconf/System/MDK/Network.pm
ViewVC logotype

Diff of /libconf/perl-Libconf/System/MDK/Network.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by dams, Mon Oct 20 12:55:21 2003 UTC revision 1.8 by dams, Tue Oct 21 16:17:51 2003 UTC
# Line 27  use Libconf; Line 27  use Libconf;
27  use Libconf::Glueconf::Shell;  use Libconf::Glueconf::Shell;
28  use Libconf::Glueconf::Resolv;  use Libconf::Glueconf::Resolv;
29  use Libconf::Glueconf::Hosts;  use Libconf::Glueconf::Hosts;
30    use Libconf::Glueconf::Network;
31  use Libconf::System::DirectoryWrapper;  use Libconf::System::DirectoryWrapper;
32    
33  @ISA = qw(Libconf);  @ISA = qw(Libconf);
# Line 35  sub new { Line 36  sub new {
36      my ($pkg) = @_;      my ($pkg) = @_;
37      tie my %h_interfaces, 'Libconf::System::DirectoryWrapper', '/etc/sysconfig/network-scripts', 'ifcfg-*', 'shell';      tie my %h_interfaces, 'Libconf::System::DirectoryWrapper', '/etc/sysconfig/network-scripts', 'ifcfg-*', 'shell';
38      bless {      bless {
39             general => new Libconf::Glueconf::Shell('/etc/sysconfig/network'),             general => new Libconf::Glueconf::Network('/etc/sysconfig/network'),
40             dns => new Libconf::Glueconf::Resolv('/etc/resolv.conf'),             dns => new Libconf::Glueconf::Resolv('/etc/resolv.conf'),
41             interfaces => \%h_interfaces,             interfaces => \%h_interfaces,
42             hosts => new Libconf::Glueconf::Hosts('/etc/hosts'),             hosts => new Libconf::Glueconf::Hosts('/etc/hosts'),

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26