mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Use yes and no for onboot option.
https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3164661&group_id=17457
This commit is contained in:
@@ -8,7 +8,7 @@ require './adsl-client-lib.pl';
|
||||
|
||||
&lock_file($config{'pppoe_conf'});
|
||||
$conf = &get_config();
|
||||
&save_directive($conf, "ONBOOT", $in{'onboot'});
|
||||
&save_directive($conf, "ONBOOT", $in{'onboot'} ? 'yes' : 'no');
|
||||
&flush_file_lines();
|
||||
&unlock_file($config{'pppoe_conf'});
|
||||
&webmin_log($in{'onboot'} eq 'yes' ? 'bootup' : 'bootdown');
|
||||
|
||||
Reference in New Issue
Block a user