blob: fa8e9b3fc445c7c1f80a15f748c281fc85460de0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
if [ -z $1 ]; then
echo "Usage : $0 [0-5]"
echo "Usage : $0 \"custom\""
exit 1
fi
if [ "${1}" == "custom" ]; then
/etc/security/msec/init-sh/custom.sh
fi
if [ -f /etc/security/msec/init-sh/level$1.sh ]; then
/etc/security/msec/init-sh/level$1.sh
if [ -f /etc/security/msec/init-sh/perm.$1 ]; then
/etc/security/msec/init-sh/file_perm.sh /etc/security/msec/init-sh/perm.$1
else
echo "Couldn't find the default permissions for level $1."
fi
else
echo "Security level $1 not availlable..."
fi
|