mirror of
https://github.com/Telecominfraproject/ols-ucentral-schema.git
synced 2025-11-01 18:47:51 +00:00
command: do an implicit factory reset when flashing a new image
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -67,7 +67,7 @@
|
|||||||
|
|
||||||
let sysupgrade_cmdline = [
|
let sysupgrade_cmdline = [
|
||||||
'sysupgrade',
|
'sysupgrade',
|
||||||
...(args.keep_redirector ? [ '-f', '/tmp/sysupgrade.tgz' ] : []),
|
...(args.keep_redirector ? [ '-f', '/tmp/sysupgrade.tgz' ] : [ '-n' ]),
|
||||||
image_path
|
image_path
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user