|
Server : Apache System : Linux vps-1386233.fundacionavanta.org 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : grupobalcacom ( 1010) PHP Version : 7.4.33 Disable Function : NONE Directory : /bin/ |
Upload File : |
#!/bin/sh
eval "SCLS=(${X_SCLS[*]})"
[ -z "$SCLS" ] && exit 1
[ -z "$*" ] && exit 0
for scl in $*; do
FOUND=0
for i in `seq 0 ${#SCLS[@]}`; do
if [ "${SCLS[$i]}" == "$scl" ]; then
FOUND=1;
break;
fi;
done
[ $FOUND == 0 ] && exit 1;
done
exit 0