Changeset 5ba8e3b in freewrt
- Timestamp:
- Jun 29, 2007, 8:58:00 PM (18 years ago)
- Children:
- b4ac44c
- Parents:
- 99b974e
- Location:
- package/fwwif/extra
- Files:
-
- 2 edited
-
commit.ecpp (modified) (1 diff)
-
version.ecpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
package/fwwif/extra/commit.ecpp
r99b974e r5ba8e3b 63 63 <p class="blkbeg">The “fwcf commit” utility returned the following output:</p> 64 64 <pre class="blkmid"> 65 % reply.sout() << text ;65 % reply.sout() << text ? text : "(null)"; 66 66 </pre><p class="blkend">The exit code was <$ WEXITSTATUS(i) $>.</p> 67 67 <p>Go <a href="javascript:back();">back</a> or to the <a href="/">index</a>.</p> 68 68 % } else { 69 % int i; 70 % char *changes; 71 % 69 72 % do { 70 73 % checkpoint = arc4random(); /* authorisation */ 71 74 % } while (!checkpoint); 75 % changes = c_exec("/sbin/fwcf status", &i); 76 % if (changes) { 77 <p class="blkbeg">The following files have been modified:</p> 78 <pre class="blkmid"><$ changes $></pre> 79 <p class="blkend">Do you really want to commit all these changes 80 % free(changes); 81 % } else { 72 82 <h1>Commit to flash</h1> 73 <p>Do you really want to commit all changes to <tt>/etc</tt> into 74 flash to retain them over system reboots?</p> 83 <p>Do you really want to commit all changes to <tt>/etc</tt> 84 % } 85 into flash to retain them over system reboots?</p> 75 86 <table width="100%"> 76 87 <tr> -
package/fwwif/extra/version.ecpp
r99b974e r5ba8e3b 41 41 </%cpp> 42 42 <p class="blkbeg">The “fwwif version” utility returned the following output:</p> 43 <pre class="blkmid"><$ text $></pre><p43 <pre class="blkmid"><$ text ? text : "(null)" $></pre><p 44 44 class="blkend">The exit code was <$ i > 0 ? WEXITSTATUS(i) : i $>.</p> 45 45 <p>Go <a href="javascript:back();">back</a> or to the <a href="/">index</a>.</p> 46 % if (text) 47 % free(text); 46 48 <& footer>
Note:
See TracChangeset
for help on using the changeset viewer.
