Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2883 → Rev 2884

/scripts/alcasar-conup.sh
58,10 → 58,11
 
# If status page isn't required, add user_IP with flag PERM in /tmp/current_users.txt
if [ "$statusPageRequired" == '2' ]; then # Status page is not required
if [ ! -e /tmp/current_users.txt ]; then
touch /tmp/current_users.txt && chown apache:apache /tmp/current_users.txt
fi
echo "$FRAMED_IP_ADDRESS:PERM" >> /tmp/current_users.txt
current_users_file="/tmp/current_users.txt"
if [ ! -e $current_users_file ]; then
touch $current_users_file && chown root:apache $current_users_file && chmod 660 $current_users_file
fi
echo "$FRAMED_IP_ADDRESS:PERM" >> $current_users_file
fi
 
#############################