3 # Edit a redhat networking config file to determine if ADSL is started at
6 require './adsl-client-lib.pl';
9 &lock_file($config{'pppoe_conf'});
10 $conf = &get_config();
11 &save_directive($conf, "ONBOOT", $in{'onboot'} ? 'yes' : 'no');
13 &unlock_file($config{'pppoe_conf'});
14 &webmin_log($in{'onboot'} eq 'yes' ? 'bootup' : 'bootdown');