diff options
Diffstat (limited to 'msec.sh')
-rwxr-xr-x | msec.sh | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/msec.sh b/msec.sh deleted file mode 100755 index 34c3786..0000000 --- a/msec.sh +++ /dev/null @@ -1,39 +0,0 @@ -#--------------------------------------------------------------- -# Project : Mandriva Linux -# Module : msec -# File : msec.sh -# Version : $Id$ -# Author : Yoann Vandoorselaere -# Created On : Wed Feb 13 18:35:58 2002 -# Purpose : settings according to security level -#--------------------------------------------------------------- - -if [ -r /etc/sysconfig/msec ]; then - . /etc/sysconfig/msec -fi - -if [ `id -u` -ge 500 ]; then - if [ -n "$UMASK_USER" ]; then - umask $UMASK_USER - else - umask 022 - fi -else - if [ -n "$UMASK_ROOT" ]; then - umask $UMASK_ROOT - else - umask 002 - fi -fi - -if [ -n "$SECURE_LEVEL" ]; then - if [ "$SECURE_LEVEL" -le 1 ] && ! echo ${PATH} | fgrep -q :.; then - export PATH=$PATH:. - fi -fi - -export SECURE_LEVEL - -[ -n "$TMOUT" ] && type typeset > /dev/null 2>&1 && typeset -r TMOUT - -# msec.sh ends here |