defadm [filename [name[=value]] [name[=value]] [. . .]]
defadm [-d filename name [name] [. . .]]
If defadm is executed with no arguments, it lists the files in the /etc/default directory.
If defadm is given a filename, it prints all the defaults contained in filename. If one or more names are specified together with a filename, then defadm prints the specified names together with their values.
If defadm is given a filename and one or more names and values, then the default file is modified so that the name is set to the respective value. If the value is an empty string, the name has a null value. When using defadm to display the value of name, if name is not found, a warning message is printed and processing continues.
If defadm is given the -d option, a filename, and one or more names, it removes the specified names from the filename.
UX:defadm: ERROR: invalid option
UX:defadm: ERROR: directory /etc/default does not exist
UX:defadm: ERROR: cannot access directory /etc/default
UX:defadm: ERROR: file
filename does not exist
UX:defadm: ERROR: cannot access file
filename
UX:defadm: WARN: name
name does not exist
UX:defadm: ERROR: file
filename is locked, try again later
UX:defadm: ERROR: unexpected error