diff options
author | Yoann Vandoorselaere <yoann@mandriva.com> | 1999-12-09 17:16:37 +0000 |
---|---|---|
committer | Yoann Vandoorselaere <yoann@mandriva.com> | 1999-12-09 17:16:37 +0000 |
commit | a9246801e5bce8060b3086ae5f3d443699b82171 (patch) | |
tree | 087e90506e9630ee7dba5ef3960ca2cc7146162a /init-sh/init.sh | |
parent | 9422e4962af0d43308cfae95ab8e7370ee035525 (diff) | |
download | msec-a9246801e5bce8060b3086ae5f3d443699b82171.tar msec-a9246801e5bce8060b3086ae5f3d443699b82171.tar.gz msec-a9246801e5bce8060b3086ae5f3d443699b82171.tar.bz2 msec-a9246801e5bce8060b3086ae5f3d443699b82171.tar.xz msec-a9246801e5bce8060b3086ae5f3d443699b82171.zip |
Should really be stable now.
Diffstat (limited to 'init-sh/init.sh')
-rwxr-xr-x | init-sh/init.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/init-sh/init.sh b/init-sh/init.sh index 361eb1e..82d3964 100755 --- a/init-sh/init.sh +++ b/init-sh/init.sh @@ -1,20 +1,20 @@ #!/bin/sh -if [ -z $1 ]; then +if [[ -z $1 ]]; then echo "Usage : $0 [0-5]" echo "Usage : $0 \"custom\"" exit 1 fi -if [ "${1}" == "custom" ]; then +if [[ ${1} == custom ]]; then /etc/security/msec/init-sh/custom.sh exit 0; fi -if [ -f /etc/security/msec/init-sh/level$1.sh ]; then +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 + 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." |