Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1187 - sysupgrade does not accept -d any more #6604

Closed
openwrt-bot opened this issue Nov 22, 2017 · 1 comment
Closed

FS#1187 - sysupgrade does not accept -d any more #6604

openwrt-bot opened this issue Nov 22, 2017 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

JamesT42:

Hi!

I'm on git master code from 2017-10-29 (plus minus a few days) and trying to update using sysupgrade with a delay, like I use to do before in CC. But -d is no accepted any more, though it is included in the help.
Its on an Archer C60, but I dont think that relevant.

root@LEDE:~# sysupgrade
Usage: /sbin/sysupgrade [...]
/sbin/sysupgrade [-q] [-i]

upgrade-option:
-d add a delay before rebooting
[...]

root@LEDE:~# sysupgrade -d 10 -T lede-6.1-ar71xx-generic-archer-c60-v1-squashfs-sysupgrade.bin
Invalid option: -d

@openwrt-bot
Copy link
Author

None:

In reality the '-d' has been dropped but it appears the help text wasn't updated. I've submitted a patch https://patchwork.ozlabs.org/patch/859773/ to fix this, where the fix is to no longer report an unsupported option rather than re-implement it.

That may not be the fix you were hoping for but it does at least make it consistent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant