uspot: captive: honor 'debugoff'

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
This commit is contained in:
Thibaut VARÈNE
2023-05-12 10:33:15 +02:00
committed by John Crispin
parent d667c2e2b9
commit db37e3727d

View File

@@ -116,7 +116,7 @@ case 'log':
break; break;
case 'debugon': case 'debugon':
case 'debugoff': case 'debugoff':
uci.set('uspot', 'def_captive', 'debug', 1); uci.set('uspot', 'def_captive', 'debug', 'debugon'==ARGV[0]);
uci.commit(); uci.commit();
restart(); restart();
break; break;