projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa5ecfc
)
Use yes and no for onboot option.
author
Jamie Cameron
<jcameron@webmin.com>
Mon, 24 Jan 2011 21:01:35 +0000
(13:01 -0800)
committer
Jamie Cameron
<jcameron@webmin.com>
Mon, 24 Jan 2011 21:01:35 +0000
(13:01 -0800)
https://sourceforge.net/tracker/?func=detail&atid=117457&aid=
3164661
&group_id=17457
adsl-client/rbootup.cgi
patch
|
blob
|
history
diff --git
a/adsl-client/rbootup.cgi
b/adsl-client/rbootup.cgi
index
3ffb35f
..
257a56b
100755
(executable)
--- a/
adsl-client/rbootup.cgi
+++ b/
adsl-client/rbootup.cgi
@@
-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');