diff options
author | Frederic Lepied <flepied@mandriva.com> | 2002-06-27 07:57:48 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2002-06-27 07:57:48 +0000 |
commit | 277165df4b418fa7b145725a7cb13ad08b1ec742 (patch) | |
tree | 1cdcbb919082ea6b8644d7c7fe3d25cfb82f5dd6 /share | |
parent | b627ab3c00142988caa09857f0e6e833497764b9 (diff) | |
download | msec-277165df4b418fa7b145725a7cb13ad08b1ec742.tar msec-277165df4b418fa7b145725a7cb13ad08b1ec742.tar.gz msec-277165df4b418fa7b145725a7cb13ad08b1ec742.tar.bz2 msec-277165df4b418fa7b145725a7cb13ad08b1ec742.tar.xz msec-277165df4b418fa7b145725a7cb13ad08b1ec742.zip |
pass -c to Perms.py if the level is given on the command line.
Diffstat (limited to 'share')
-rwxr-xr-x | share/msec | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -51,6 +51,7 @@ for a in "$@"; do done if [ -n "$last" ]; then + CHANGE=-c case "$last" in [0-5]) ;; *) [ -x /usr/share/msec/$last.py ] && MSEC=/usr/share/msec/$last.py;; @@ -78,7 +79,7 @@ if $MSEC "$@"; then LOCAL= [ -f /etc/security/msec/perm.local ] && LOCAL=/etc/security/msec/perm.local - /usr/share/msec/Perms.py $OPT /usr/share/msec/perm.$PERM_LEVEL $LOCAL + /usr/share/msec/Perms.py $CHANGE $OPT /usr/share/msec/perm.$PERM_LEVEL $LOCAL fi # msec ends here |