StoredNetConfigs - Store multiple network configurations V1.4 - Puppy Linux 4.1.2

Manages a store of multiple network configuraions, so they can be selectively "Installed" into "/etc/network-wizard" and/or "Unisntalled". Thus "rc.network" is aware of only the necessary sub-set of all possible network configurations.

Every time StoredNetConfigs is run, it makes copies of all network configurations available in "/etc/network-wizard", into it's own store.

Each network configuration is identified by two or three significant attributes.
The first two attributes are always the interface name, and "dhcp" or the IP address.
If it is a wireless interface, a third attribute is appended, the ESSID.

To add a new configuration:
Click on the "Wizard" button to open the normal Puppy Network Wizard.
Any configs in the "Installed Network configs" list, will be "Uninstalled" before the Wizard is run. This is to avoid any possible conflict with the new configuration.
After sucessfull completion of the wizard, the new config will appear in both the "Installed Network configs" list, and the "Stored Network configs" list.

To "Uninstall" a configuration:
Select an entry in the "Installed Network configs" list, by clicking on it. Then click the "Uninstall" button.
The entry will disappear from the "Installed Network configs" list.

To "Install" a configuration:
Select an entry in the "Stored Network configs" list, by clicking on it. Then click the "Install" button.
The entry will appear in the "Installed Network configs" list.
Any existing entry in the "Installed Network configs" list for the same interface or the same network, is automatically "Uninstalled".

To activate the "Installed Network configs" list:
Once the "Installed Network configs" list represents the set of configs you want to be active now, click on the "Restart" button. This will run "/etc/rc.d/rc/network".
Alternatively, you can reboot Puppy.

To remove a configuration from the "Stored Network configs" list:
Select an entry in the "Stored Network configs" list, by clicking on it. Then click the "Remove" button.
The entry will be removed from the store, and will have to be added as a new config using the Network Wizard, if it is required in the future.

StoredNetConfigs conf file:
The file "/root/.storedNetConfigs/stored.conf" defines various directories and settings, used by StoredNetConfigs.
TREE_WIDTH="250" defines the width of the lists in the main dialog. If the dialog appears too wide or too narrow, try a new value here.
CHANGE_RUNNING_NET="yes" causes "Install" to automatically restart the network, and "Uninstall" to "ifconfig down" the selected interface. Unset is the default.
INFO_BROWSER="bareview" sets the browser to use to display the help file. Unset is the default.