trynd / wren

Linux boot platform that provides a portable, multi-system, run-in-memory Linux environment.
GNU General Public License v3.0
0 stars 1 forks source link

Wren control script #16

Closed codewithmichael closed 9 years ago

codewithmichael commented 9 years ago

Addresses issue #11 (Wren control script(wrenctl)).

This control script (simply named wren) provides a central location from which to check platform status, increase active storage capacity, save, and update the Grub configuration. This script, wren, is symbolically linked in /usr/sbin/ during the build process (wrender) to make it portably accessible.

I've updated setlist with a new variable, SETLIST_SYMLINK, to define required symbolic links, and I updated wrender to create the requested links.

As requested by the issue, save name or save file can be defined like so:

sudo wren set savename test
sudo wren save

-OR-

sudo wren save savename=test

The first example above saves the "savename" for all future saves (or until it is unset). The second example performs a one-time save to the specified save target.