Browse Subversion Repository
Contents of /trunk/1.6.x/ccs-tools/ccstools/man/init_policy.sh
Parent Directory
| Revision Log
Revision 1283 -
( show annotations)
( download)
( as text)
Wed Jun 11 01:45:23 2008 UTC
(15 years, 11 months ago)
by kumaneko
File MIME type: text/x-sh
File size: 1117 byte(s)
Remove ALLOW_ENFORCE_GRACE parameter
1 |
#! /bin/sh |
2 |
|
3 |
if [ "$1" = "--version" ] |
4 |
then |
5 |
cat << EOF |
6 |
init_policy.sh 1.6.2 |
7 |
|
8 |
Copyright (C) 2005-2008 NTT DATA CORPORATION. |
9 |
|
10 |
This program is free software; you may redistribute it under the terms of |
11 |
the GNU General Public License. This program has absolutely no warranty. |
12 |
EOF |
13 |
elif [ "$1" = "--help" ] |
14 |
then |
15 |
cat << EOF |
16 |
Usage: init_policy.sh [--file-only-profile|--full-profile] |
17 |
|
18 |
This program generates templates for all policy files. |
19 |
You need to review the output because automatically generated exception policy may contain redundant or dangerous entries. |
20 |
|
21 |
--file-only-profile Create profile with only file access control feature enabled. |
22 |
--full-profile Create profile with all features enabled. |
23 |
|
24 |
Examples: |
25 |
|
26 |
None. |
27 |
|
28 |
EOF |
29 |
else |
30 |
cat << EOF | help2man -i - -N -s 8 -n "Initialize TOMOYO Linux's policy" $0 | gzip -9 > man8/init_policy.sh.8.gz |
31 |
[SEE ALSO] |
32 |
|
33 |
ccs-init (8) |
34 |
|
35 |
[NOTES] |
36 |
|
37 |
You don't need to run this program after you have successfully initialized policy. |
38 |
|
39 |
[AUTHORS] |
40 |
|
41 |
penguin-kernel _at_ I-love.SAKURA.ne.jp |
42 |
|
43 |
Bug fix for Gentoo 64bit environment by Naohiro Aota <naota _at_ namazu.org>. |
44 |
|
45 |
EOF |
46 |
fi |
47 |
exit 0 |
|