Rev 236 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
Scripts to configure camp_sysinfo for the current system. The main script, setup, calls all of the other scripts, then exits when
calling ../configure to allow interactive configuration of the setup.
No flags are necessary for any of these scripts; by default, they will do an interactive installation (--quiet turns that off)
setup is a macro script which simply calls the other scripts.
./setup # does full configuration, calling all other scripts
--os|-o - lower case name of operating system (debian, freebsd, etc...)
--dryrun|-n - do not actually do anything, just tell you what I'd do
--version|-v - display version and exit
--quiet|-q - Do not ask questions, just do stuff
--help|-g - Show this screen
--seed|-s - URL/Path to seed file for config
--debug - Show extra information (--nodebug is default)
Following scripts can be run individually, if desired. They are run by setup, but can be rerun at any time
./validateDependencies # installs binaries and perl libraries as needed
--os|-o - lower case name of operating system (debian, freebsd, etc...)
--dryrun|-n - do not actually do anything, just tell you what I'd do
--version|-v - display version and exit
--quiet|-q - Do not ask questions, just do stuff
--debug - turn on debug mode (no short form). --nodebug turns off (default)
--help|-h - Show this screen
./checkFiles # creates cron files/entries and a basic configuration file
--os|-o - lower case name of operating system (debian, freebsd, etc...)
--dryrun|-n - do not actually do anything, just tell you what I'd do
--version|-v - display version and exit
--quiet|-q - Do not ask questions, just do stuff
--help|-g - Show this screen
--seed|-s - URL/Path to seed file for config to override default
--debug - Show extra information (--nodebug is default)
./permissions # sets permissions. Runs each modules/* script if it fails, unsets executable flag so it is not run by sysinfo-client
no parameters
NOTE: does not correctly set ownership on BSD systems
../configure # validates configuration and allows user to set most parameters
--verbose|-v - verbosity level, 0-9 (may be entered more than once, ie -vvv to increase verbosity)
--file|-f - file name to read
--output|-o - file to save to
--test|-t - test the config file and report errors
--dryrun|-n - do not save result
--quiet|-q - do not ask any questions, automatically check, repair and write to output
--help|-h - display help screen