Line 23:
Line 23:
=== Setting db variables to default values ===
=== Setting db variables to default values ===
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:
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
+
config delprop <key> <prop>
/etc/e-smith/events/actions/initialize-default-databases
/etc/e-smith/events/actions/initialize-default-databases
+
==== Delete a property value ====
+
To delete the property
+
db accounts delprop <key> <prop>
+
+
==== Reset a property value ====
+
To reset to an empty value
+
db accounts setprop <key> <prop> <nowiki>''</nowiki>
+
+
{{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.}}
===Concept of the signal-event command===
===Concept of the signal-event command===