This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

====== How-to Keep Router Configuration after an Upgrade ====== {{INLINETOC 2 4 }} ===== Question ===== Is there any reason why it is not possible for Gargoyle to remember its configuration after an upgrade? It is possible on almost all firmware (including openwrt). This would make the upgrade process so much more pleasant. ===== Answer ===== Yes ===== Solution ===== SSH into your router and edit the file ''/www/utility/do_upgrade.sh'' On line 47 change <shell> /sbin/sysupgrade -n /tmp/up/upgrade 2>&1 | awk ' $0 ~ /eboot/ { print "<script type=\"text/javascript\">top.upgraded();</script></body></html>" ; } ' </shell> to <shell> /sbin/sysupgrade /tmp/up/upgrade 2>&1 | awk ' $0 ~ /eboot/ { print "<script type=\"text/javascript\">top.upgraded();</script></body></html>" ; } ' </shell> The only difference is ''-n''

upgrade_config.1343903875.txt.gz · Last modified: 2012/08/02 10:37 by eric
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki