-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.h.top
78 lines (65 loc) · 2.4 KB
/
config.h.top
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/*
* CHOS (c) 2004, The Regents of the University of California, through
* Lawrence Berkeley National Laboratory (subject to receipt of any
* required approvals from the U.S. Dept. of Energy). All rights
* reserved.
*
* If you have questions about your rights to use or distribute this
* software, please contact Berkeley Lab's Technology Transfer
* Department at [email protected] referring to "CHOS (LBNL Ref CR-2025)"
*
* NOTICE. This software was developed under funding from the U.S.
* Department of Energy. As such, the U.S. Government has been granted
* for itself and others acting on its behalf a paid-up, nonexclusive,
* irrevocable, worldwide license in the Software to reproduce, prepare
* derivative works, and perform publicly and display publicly.
* Beginning five (5) years after the date permission to assert
* copyright is obtained from the U.S. Department of Energy, and subject
* to any subsequent five (5) year renewals, the U.S. Government is
* granted for itself and others acting on its behalf a paid-up,
* nonexclusive, irrevocable, worldwide license in the Software to
* reproduce, prepare derivative works, distribute copies to the public,
* perform publicly and display publicly, and to permit others to do so.
*
*
* Description:
*
* This is the main config file. Please adjust this for your site.
*/
/*
* If chos is run without any args, it will re-initialize the environment.
* This option controls the default path.
*/
#define DEFPATH "PATH=/bin:/usr/bin:/usr/local/bin";
/*
* This option sets the base directory for the chos tree.
* Note, if you change this you may need to adjust some other scripts.
*/
#define CHROOT "/chos"
/*
* This file primarily controls what environment variables get carried over
* to the new tree for a login session. If a command is specified, the
* environment stays intact.
*/
#define CHOSENV "/etc/chos.conf"
/*
* This file specifies valid chos trees. The format is...
*
* %SHELLS
* <alias1>:<path1>
* <alias2>:<path1>
* <alias3>:<path2>
* etc
*
* When a user sets CHOS or set .chos it is compared against the first
* element. If they match, the path specified in the second element is used.
*/
#define CHOSCONF "/etc/chos"
/*
* This tag should be before the valid chos tree in the /etc/chos file.
*/
#define SHELLHEAD "%SHELLS"
#define ENVHEAD "%ENV"
#define BEHHEAD "%BEH"
#define DEFAULT "default"
#define FAIL_TO_DEFAULT 0