System Files
This files_system_objects.cfg example specifies system file lists referenced by various PIKT scripts (including for example FilesSystemPermissionsOwnersChanges, SystemFileNotExistEmergency, SystemFileSizeChangeUrgent, and others). Note how the #include directives incorporate several different file lists, for example files_system_redhat_linux_objects.cfg, files_system_suse_linux_objects.cfg, or files_system_solaris_objects.cfg (and possibly still other file lists for other operating systems), together with system files local to the site (for files not included in a standard OS install).
/////////////////////////////////////////////////////////////////////////////// // // files_system_objects.cfg // /////////////////////////////////////////////////////////////////////////////// FilesSystem #include <objects/files_system_redhat_linux_objects.cfg> #include <objects/files_system_suse_linux_objects.cfg> #include <objects/files_system_solaris_objects.cfg> [... and so on for other operating systems ...] #include <objects/files_system_local_objects.cfg> ///////////////////////////////////////////////////////////////////////////////
On the piktmaster system, we would install the FilesSystem.obj file to each PIKT slave system with the command:
# piktc -iv +O FilesSystem +H all [or: ... -H down]
For more examples, see Samples.