226 |
rodolico |
1 |
Scripts to configure camp_sysinfo for the current system. The main script, setup, calls all of the other scripts, then exits when
|
|
|
2 |
calling ../configure to allow interactive configuration of the setup.
|
|
|
3 |
|
|
|
4 |
No flags are necessary for any of these scripts; by default, they will do an interactive installation (--quiet turns that off)
|
|
|
5 |
|
|
|
6 |
setup is a macro script which simply calls the other scripts.
|
|
|
7 |
|
|
|
8 |
./setup # does full configuration, calling all other scripts
|
|
|
9 |
--os|-o - lower case name of operating system (debian, freebsd, etc...)
|
|
|
10 |
--dryrun|-n - do not actually do anything, just tell you what I'd do
|
|
|
11 |
--version|-v - display version and exit
|
|
|
12 |
--quiet|-q - Do not ask questions, just do stuff
|
|
|
13 |
--help|-g - Show this screen
|
|
|
14 |
--seed|-s - URL/Path to seed file for config
|
|
|
15 |
--debug - Show extra information (--nodebug is default)
|
|
|
16 |
|
|
|
17 |
Following scripts can be run individually, if desired. They are run by setup, but can be rerun at any time
|
|
|
18 |
|
236 |
rodolico |
19 |
./validateDependencies # installs binaries and perl libraries as needed
|
226 |
rodolico |
20 |
--os|-o - lower case name of operating system (debian, freebsd, etc...)
|
|
|
21 |
--dryrun|-n - do not actually do anything, just tell you what I'd do
|
|
|
22 |
--version|-v - display version and exit
|
|
|
23 |
--quiet|-q - Do not ask questions, just do stuff
|
|
|
24 |
--debug - turn on debug mode (no short form). --nodebug turns off (default)
|
|
|
25 |
--help|-h - Show this screen
|
|
|
26 |
|
|
|
27 |
./checkFiles # creates cron files/entries and a basic configuration file
|
|
|
28 |
--os|-o - lower case name of operating system (debian, freebsd, etc...)
|
|
|
29 |
--dryrun|-n - do not actually do anything, just tell you what I'd do
|
|
|
30 |
--version|-v - display version and exit
|
|
|
31 |
--quiet|-q - Do not ask questions, just do stuff
|
|
|
32 |
--help|-g - Show this screen
|
|
|
33 |
--seed|-s - URL/Path to seed file for config to override default
|
|
|
34 |
--debug - Show extra information (--nodebug is default)
|
236 |
rodolico |
35 |
|
|
|
36 |
./permissions # sets permissions. Runs each modules/* script if it fails, unsets executable flag so it is not run by sysinfo-client
|
|
|
37 |
no parameters
|
|
|
38 |
NOTE: does not correctly set ownership on BSD systems
|
|
|
39 |
|
|
|
40 |
../configure # validates configuration and allows user to set most parameters
|
|
|
41 |
--verbose|-v - verbosity level, 0-9 (may be entered more than once, ie -vvv to increase verbosity)
|
|
|
42 |
--file|-f - file name to read
|
|
|
43 |
--output|-o - file to save to
|
|
|
44 |
--test|-t - test the config file and report errors
|
|
|
45 |
--dryrun|-n - do not save result
|
|
|
46 |
--quiet|-q - do not ask any questions, automatically check, repair and write to output
|
|
|
47 |
--help|-h - display help screen
|