Commit graph

13 commits

Author SHA1 Message Date
Vasilis Tsiligiannis
57d7cc7666 base-files: Detect and decompressed gzipped images automatically when flashing with sysupgrade
SVN-Revision: 16407
2009-06-10 22:22:48 +00:00
Nicolas Thill
06413b783e base-files: initialize GZIPED to 0 in sysupgrade since it's used later in numeric comparisons
SVN-Revision: 15890
2009-05-17 11:54:44 +00:00
Jo-Philipp Wich
7da25b844c Don't try to pivot to new ramfs if already running on one This patch allows the sysupgrade script to continue with the upgrade if openwrt is already running on a ramfs. This allows the use of the sysupgrade script as an _installer_ when running from an iso image. A user could boot the system from a bootable cd and invoke sysupgrade -n <URL> to write an image to the hard disk or CF.
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>

SVN-Revision: 15683
2009-05-07 13:51:45 +00:00
Jo-Philipp Wich
71e0f59b80 Add option in sysupgrade to flash gzipped images
SVN-Revision: 15672
2009-05-07 13:27:10 +00:00
Felix Fietkau
2b2884293a add option in sysupgrade to restore config from file or URL (patch from #4043)
SVN-Revision: 12772
2008-09-28 19:45:59 +00:00
Felix Fietkau
e2daafdb1d fix typo from last sysupgrade commit
SVN-Revision: 12715
2008-09-26 08:58:43 +00:00
Travis Kemen
3770c99cf8 add switch to not save configuration over the reflash in noninteractive mode
SVN-Revision: 12714
2008-09-26 00:10:01 +00:00
Felix Fietkau
22585e578b sysupgrade: add optional delay before rebooting
SVN-Revision: 12572
2008-09-12 19:51:30 +00:00
Travis Kemen
b3b5e54099 add /etc/firewall.user to be backed up becuase it is an example in /etc/config/firewall
SVN-Revision: 12326
2008-08-16 18:01:18 +00:00
Travis Kemen
0b2111d1fb remove /etc/firewall.* from being kept as they no longer are used in trunk
SVN-Revision: 12320
2008-08-16 16:04:51 +00:00
Travis Kemen
0425daa86d keep /etc/group over reflash as well
SVN-Revision: 11919
2008-07-24 16:36:39 +00:00
Travis Kemen
f20dd0803c add dropbear keys, passwd and firewall configuration to be saved during reflash
SVN-Revision: 11912
2008-07-24 02:24:59 +00:00
Felix Fietkau
1e38527a52 add sysupgrade script for config preserving system upgrades. only implemented for x86-2.6 at the moment, but can be ported to other platforms easily
SVN-Revision: 8456
2007-08-21 18:23:57 +00:00