Browse Subversion Repository
Diff of /trunk/1.6.x/ccs-tools/ccstools/ccs-init
Parent Directory
| Revision Log
| Patch
4 |
# |
# |
5 |
# Copyright (C) 2005-2007 NTT DATA CORPORATION |
# Copyright (C) 2005-2007 NTT DATA CORPORATION |
6 |
# |
# |
7 |
# Version: 1.5.1 2007/10/19 |
# Version: 1.5.1 2007/10/23 |
8 |
# |
# |
9 |
# This program is executed automatically by kernel |
# This program is executed automatically by kernel |
10 |
# when execution of /sbin/init is requested. |
# when execution of /sbin/init is requested. |
118 |
[ $TOMOYO_NOLOAD -eq 0 -a -r domain_policy.conf -a -w /proc/ccs/domain_policy ] && cat domain_policy.conf > /proc/ccs/domain_policy |
[ $TOMOYO_NOLOAD -eq 0 -a -r domain_policy.conf -a -w /proc/ccs/domain_policy ] && cat domain_policy.conf > /proc/ccs/domain_policy |
119 |
if [ "x$PROFILE" = "xdefault" ]; then |
if [ "x$PROFILE" = "xdefault" ]; then |
120 |
[ -r profile.conf ] && cat profile.conf > /proc/ccs/profile |
[ -r profile.conf ] && cat profile.conf > /proc/ccs/profile |
121 |
elif [ "x$PROFILE" = "xdisable" ]; then |
elif [ "x$PROFILE" != "xdisable" ]; then |
122 |
[ -r profile-$PROFILE.conf ] && cat profile-$PROFILE.conf > /proc/ccs/profile |
[ -r profile-$PROFILE.conf ] && cat profile-$PROFILE.conf > /proc/ccs/profile |
123 |
fi |
fi |
124 |
fi |
fi |
|
Legend:
Removed from v.597 |
|
changed lines |
|
Added in v.600 |
|
|
|