User Tools

Site Tools


doc:techref:sysupgrade

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
doc:techref:sysupgrade [2012/02/22 04:36]
russell grammar
doc:techref:sysupgrade [2013/01/02 19:24] (current)
hnyman align options with r34975
Line 6: Line 6:
  
 ===== Options ===== ===== Options =====
-You can populate your ''​[[doc/​howto/​notuci.config#​etcsysupgrade.conf|/​etc/​sysupgrade.conf]]''​ and issue additional options:+You can populate your ''​[[doc/​howto/​notuci.config#​etcsysupgrade.conf|/​etc/​sysupgrade.conf]]''​ and issue additional options ​(r34975):
  
 <​code>​ <​code>​
-Usage: /​sbin/​sysupgrade [options] <image file or URL>+Usage: /​sbin/​sysupgrade [<​upgrade-option>​...] <image file or URL> 
 +       /​sbin/​sysupgrade [-q] [-i] <​backup-command>​ <​file>​ 
 + 
 +upgrade-option:​ 
 + -d <​delay> ​  add a delay before rebooting 
 + -f <​config> ​ restore configuration from .tar.gz (file or url) 
 + -i           ​interactive mode 
 + -c           ​attempt to preserve all changed files in /etc/ 
 + -n           do not save configuration over reflash 
 + -F | --force 
 +              Flash image even if image checks fail, this is dangerous! 
 + -q           less verbose 
 + -v           more verbose 
 + -h | --help ​ display this help 
 + 
 +backup-command:​ 
 + -b | --create-backup <​file>​ 
 +              ​create .tar.gz of files specified in sysupgrade.conf 
 +              then exit. Does not flash an image. If file is '​-',​ 
 +              i.e. stdout, verbosity is set to 0 (i.e. quiet). 
 + -r | --restore-backup <​file>​ 
 +              ​restore a .tar.gz created with sysupgrade -b 
 +              then exit. Does not flash an image. If file is '​-',​ 
 +              the archive is read from stdin.
  
-Options: 
- -d <​delay> ​  add a delay before rebooting 
- -f <​config> ​ restore configuration from .tar.gz (file or url) 
- ​-i ​          ​interactive mode 
- ​-c ​          ​attempt to preserve all changed files in /etc/ 
- ​-n ​          do not save configuration over reflash 
- ​-q ​          less verbose 
- ​-v ​          more verbose 
 </​code>​ </​code>​
  
doc/techref/sysupgrade.txt · Last modified: 2013/01/02 19:24 by hnyman