Hyphens escaping inside strings and outside perl bits, error messages.
Sample. List ?
Events matrix.
Scripts are called through proxy variables (for instance EthernetInterfacesList='get: interfaces.pl net;').
For a 'get:' method, the script is executed immediately, and the config-wrapper gives the current transaction as a first argument to the script, before any other argument (like 'net' in this case). As a result, this transaction must be taken into account event if the script does not use it (i.e. the script does not need to get values in the current transaction).
Things are a bit more complicated for a 'set:' method, as the script will only be executed at commit time. This will not happen when the set is processed: this will only append given arguments to the script command line. This is the event-handler that will execute the script after the commit; it will pass the transaction to the script like in the get method, even if the transaction file will not exist anymore since it has been commited. If the script needs to get values, this will simply initialize a new transaction with the same name and the commited values.
List of current scripts and their purposes:
analyse-firewalling-rules.pl : change-firewalling-level.pl : change-password.pl : check-services.pl : date.pl : dns-hosts.pl : dns-update-named.pl : dns-zones.pl : download_packages.pl : ethernet-known-interfaces.pl : ethernet-modules.pl : fw-services.sh : hostname.pl : ifcfg.pl : interfaces.pl : isdn-cards.pl : isdn-providers.pl : list-manage.sh : logs.pl : mirrors.pl : monitoring-activate.pl : packages_to_update.pl : rpm-install.pl : services.pl : show_description.pl : shutdown.pl : squidGuard_manage.pl : timezone.pl : update-ethernet.pl : update-initscripts.pl : users.pl : |