Home | History | Annotate | Download | only in webmin

Lines Matching full:config_file

1 dnsmasq/0000755000000000000000000000000010512645440011223 5ustar  rootrootdnsmasq/config.info0000644000000000000000000000013210505663743013351 0ustar  rootrootconfig_file=Full path to DNSmasq config file,0
3 dnsmasq/config0000644000000000000000000000006110505663767012426 0ustar rootrootconfig_file=/etc/dnsmasq.conf
84 $config_file = &read_file_lines( $config{config_file} );
92 &parse_config_file( \%config, \$config_file );
382 config_file)my %config;# pass into data structure$config_file = &read_file_lines( "/etc/dnsmasq.conf" );# read config file## Insert Output code here# uses the index_title entry from ./lang/en or appropriate "Written by Neil Fisher<BR><A HREF=mailto:neil\@magnecor.com.au>Author</A><BR><A HREF=http://www.authorpage.invalid>Home://page</A>");&header($text{'index_title'}, "", "intro", 1, 1, undef,## sanity checks## put in ACL checks here if needed%access=&get_module_acl;&init_config("MODULENAME");$|=1;do '../web-lib.pl';# This module inherited from the Webmin Module Template 0.79.1 by tn## GNU General Public License for more details.# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# but WITHOUT ANY WARRANTY; without even the implied warranty of# This program is distributed in the hope that it will be useful,## (at your option) any later version.# the Free Software Foundation; either version 2 of the License, or# it under the terms of the GNU General Public License as published by# This program is free software; you can redistribute it and/or modify# # Copyright (C) 2006 by Neil Fisher# DNSMasq Webmin Module ##!/usr/bin/perldnsmasq/srv_edit.cgi0000755000000000000000000000450310512323643013531 0ustar rootroot#!/usr/bin/perl
416 $config_file = &read_file_lines( $config{config_file} );
418 &parse_config_file( \%config, \$config_file );
521 my $config_file = shift;
529 foreach my $line (@$$config_file)
1060 $config_file = &read_file_lines( $config{config_file} );
1068 &parse_config_file( \%config, \$config_file );
1181 $config_file = &read_file_lines( $config{config_file} );
1189 &parse_config_file( \%config, \$config_file );
1290 $config_file = &read_file_lines( $config{config_file} );
1292 &parse_config_file( \%config, \$config_file );
1384 $config_file = &read_file_lines( $config{config_file} );
1391 &parse_config_file( \%config, \$config_file );
1529 $config_file = &read_file_lines( $config{config_file} );
1537 &parse_config_file( \%config, \$config_file );
1762 $config_file = &read_file_lines( $config{config_file} );
1764 &parse_config_file( \%config, \$config_file );
1788 $config_file, ( $in{resolv} == 0 ) );
1793 $config_file, ( $in{resolv_std} == 1 ) );
1799 $config_file, ( $in{strict} == 1 ) );
1804 $config_file, ( $in{poll} == 0 ) );
1860 $config_file = &read_file_lines( $config{config_file} );
1862 &parse_config_file( \%config, \$config_file );
1896 $config_file, ($$server{used}) );
1943 $config_file = &read_file_lines( $config{config_file} );
1945 &parse_config_file( \%config, \$config_file );
1976 $config_file, ( $in{used} == 1 ) );
2022 $config_file = &read_file_lines( $config{config_file} );
2024 &parse_config_file( \%config, \$config_file );
2038 $config_file, 0 );
2079 $config_file = &read_file_lines( $config{config_file} );
2081 &parse_config_file( \%config, \$config_file );
2152 $config_file = &read_file_lines( $config{config_file} );
2154 &parse_config_file( \%config, \$config_file );
2225 $config_file = &read_file_lines( $config{config_file} );
2227 &parse_config_file( \%config, \$config_file );
2298 $config_file = &read_file_lines( $config{config_file} );
2300 &parse_config_file( \%config, \$config_file );
2312 push @{$config_file}, "#".$in{what};
2412 $config_file = &read_file_lines( $config{config_file} );
2414 &parse_config_file( \%config, \$config_file );
2428 $config_file, ( $in{used} == 1 ) );
2474 $config_file = &read_file_lines( $config{config_file} );
2476 &parse_config_file( \%config, \$config_file );
2490 $config_file, ( $in{used} == 1 ) );
2536 $config_file = &read_file_lines( $config{config_file} );
2538 &parse_config_file( \%config, \$config_file );
2560 $config_file, ( $in{used} == 1 ) );
2606 $config_file = &read_file_lines( $config{config_file} );
2608 &parse_config_file( \%config, \$config_file );
2655 $config_file, ( $in{used} == 1 ) );
2675 $config_file, ( $in{used} == 1 ) );
2721 $config_file = &read_file_lines( $config{config_file} );
2723 &parse_config_file( \%config, \$config_file );
2794 $config_file = &read_file_lines( $config{config_file} );
2796 &parse_config_file( \%config, \$config_file );
2881 $config_file = &read_file_lines( $config{config_file} );
2883 &parse_config_file( \%config, \$config_file );
2954 $config_file = &read_file_lines( $config{config_file} );
2956 &parse_config_file( \%config, \$config_file );
2970 $config_file, ( $in{used} == 1 ) );
3016 $config_file = &read_file_lines( $config{config_file} );
3018 &parse_config_file( \%config, \$config_file );
3031 $config_file, ( $in{bind_iface} == 1 ) );
3077 $config_file = &read_file_lines( $config{config_file} );
3079 &parse_config_file( \%config, \$config_file );
3153 $config_file = &read_file_lines( $config{config_file} );
3155 &parse_config_file( \%config, \$config_file );
3229 $config_file = &read_file_lines( $config{config_file} );
3231 &parse_config_file( \%config, \$config_file );
3245 $config_file, ( $in{used} == 1 ) );
3291 $config_file = &read_file_lines( $config{config_file} );
3293 &parse_config_file( \%config, \$config_file );
3338 $config_file, 1 );
3343 $config_file, ( $in{domain_needed} == 1 ) );
3349 $config_file, ( $in{expand_hosts} == 1 ) );
3355 $config_file, ( $in{bogus_priv} == 0 ) );
3360 $config_file, ( $in{filterwin2k} == 1 ) );
3366 $config_file, ( $in{hosts} == 0 ) );
3371 $config_file, ( $in{xhosts} == 1 ) );
3377 $config_file, ( $in{neg_cache} == 0 ) );
3382 $config_file, ( $in{cache_size} == 1 ) );
3387 $config_file, ( $in{log_queries} == 1 ) );
3392 $config_file, ( $in{local_ttl} == 1) );
3440 $config_file = &read_file_lines( $config{config_file} );
3442 &parse_config_file( \%config, \$config_file );
3479 $config_file, ( $in{used} == 1 ) );
3525 $config_file = &read_file_lines( $config{config_file} );
3527 &parse_config_file( \%config, \$config_file );
3556 $config_file, ( $in{used} == 1 ) );
3602 $config_file = &read_file_lines( $config{config_file} );
3604 &parse_config_file( \%config, \$config_file );
3626 $config_file, ( $in{used} == 1 ) );
3672 $config_file = &read_file_lines( $config{config_file} );
3674 &parse_config_file( \%config, \$config_file );
3747 $config_file = &read_file_lines( $config{config_file} );
3749 &parse_config_file( \%config, \$config_file );
3822 $config_file = &read_file_lines( $config{config_file} );
3824 &parse_config_file( \%config, \$config_file );
3876 $config_file, ($in{ethers} == 1) );
3884 $config_file, ($in{bootp} == 1) );
3889 $config_file, ($in{max_leases} != 150) );
3894 $config_file, ($in{useleasefile} == 1) );
3940 $config_file = &read_file_lines( $config{config_file} );
3942 &parse_config_file( \%config, \$config_file );
3971 $config_file, ( $in{used} == 1 ) );
4017 $config_file = &read_file_lines( $config{config_file} );
4019 &parse_config_file( \%config, \$config_file );
4048 $config_file, ( $in{used} == 1 ) );