Line 209: |
Line 209: |
| WpLang=fr | | WpLang=fr |
| status=enabled | | status=enabled |
| + | |
| + | === Setting db variables to default values === |
| + | {{Note box| Use of 'config' is a shorthand version for 'db configuration' and therefore only works with the configuration database}} |
| + | |
| + | Any db variable that has a default value can be reset to the default by deleting the variable entirely, then re-initializing the default database values as follows: |
| + | config delprop <key> <prop> |
| + | /etc/e-smith/events/actions/initialize-default-databases |
| + | |
| + | === Delete a property value === |
| + | To delete the property |
| + | db database delprop <key> <prop> |
| + | for example |
| + | db configuration delprop plop WpLang |
| + | or |
| + | config delprop plop WpLang |
| + | |
| + | === Reset a property value === |
| + | To reset to an empty value |
| + | db database setprop <key> <prop> <nowiki>''</nowiki> |
| + | |
| + | for example |
| + | db configuration delprop plop WpLang |
| + | or |
| + | config delprop plop WpLang |
| + | |
| + | {{Warning box|Database parameters are case sensitive so take great care when typing at the server shell because no error messages are given should you make a mistake.}} |
| | | |
| ===Signal-event=== | | ===Signal-event=== |