Lines Matching full:config_file
10 my $config_file='/boot/grub/menu.lst';
12 $bootloader->read($config_file);
20 $bootloader->write($config_file);
133 $self->{config_file} = shift;
134 unless (defined $self->{'config_file'}){
152 my $config_file=shift || $self->{config_file};
153 print ("Reading $config_file.\n") if $self->debug()>1;
155 open(CONFIG, "$config_file")
156 || warn ("ERROR: Can't open $config_file.\n") && return undef;
161 print ("Closed $config_file.\n") if $self->debug()>2;
170 my $config_file=shift || $self->{config_file};
175 print ("Writing $config_file.\n") if $self->debug()>1;
178 if (-w $config_file) {
179 system("cp","$config_file","$config_file.bak.boottool");
181 warn "ERROR: Cannot backup $config_file.\n";
184 print "Backed up config to $config_file.bak.boottool.\n";
187 open(CONFIG, ">$config_file")
194 warn "WARNING: You do not have write access to $config_file.\n";
996 my $config_file='/etc/elilo.conf';
998 $bootloader->read($config_file)
1009 $bootloader->write($config_file)
1057 $self->{'config_file'}='/etc/elilo.conf';
1150 my $config_file='/boot/grub/menu.lst';
1151 $bootloader = Linux::Bootloader::Grub->new($config_file);
1260 $self->{'config_file'}='/boot/grub/menu.lst';
1721 my $config_file='/etc/lilo.conf';
1723 $bootloader->read($config_file)
1734 $bootloader->write($config_file)
1788 $self->{'config_file'}='/etc/lilo.conf';
1855 my $config_file='/etc/yaboot.conf';
1857 $bootloader->read($config_file)
1868 $bootloader->write($config_file)
1916 $self->{'config_file'}='/etc/yaboot.conf';
1986 $self->{'config_file'}='/etc/zipl.conf';
2453 "config_file=s",
2519 $bootloader = eval "new $class(\$params{config_file});";
2528 if (! -r $bootloader->{config_file}) { die "Can't read config file.\n"; }
2622 =item B<--config_file>=I<string>