System Directories

This dirs_system_objects.cfg example specifies system directory lists referenced by various PIKT scripts, for instance, DirsSystemPermissionsOwnersChanges.  Note how the #include directives incorporate several different directory lists, for example dirs_system_redhat_linux_objects.cfg, dirs_system_suse_linux_objects.cfg, or dirs_system_solaris_objects.cfg (and possibly still other directory lists for other operating systems), together with system directories local to the site (for directories not included in a standard OS install).

///////////////////////////////////////////////////////////////////////////////
// 
// dirs_system_objects.cfg
// 
///////////////////////////////////////////////////////////////////////////////

DirsSystem

#include <objects/dirs_system_redhat_linux_objects.cfg>
#include <objects/dirs_system_suse_linux_objects.cfg>
#include <objects/dirs_system_solaris_objects.cfg>
[... and so on for other operating systems ...]
#include <objects/dirs_system_local_objects.cfg>

///////////////////////////////////////////////////////////////////////////////

On the piktmaster system, we would install the DirsSystem.obj file to each PIKT slave system with the command:

# piktc -iv +O DirsSystem +H all        [or: ... -H down]

For more examples, see Samples.

Home | FAQ | News | Intro | Samples | Tutorial | Reference | Software
Developer's Notes | Licensing | Authors | Pikt-Users | Pikt-Workers | Related Projects | Site Index | Privacy Policy | Contact Us
Page best viewed at 1024x768 or greater.   Page last updated 2019-01-12.   This site is PIKT® powered.
Copyright © 1998-2019 Robert Osterlund. All rights reserved.
Home FAQ News Intro Samples Tutorial Reference Software
PIKT Logo
PIKT Page Title
Learn about the
piktf
program