X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8c6fa3fbaccc22127280bf77a48fab5a3ee0716e..46b0747592074017ff0ea4b33d4a7194235886e5:/projects/stargazer/inst/linux/etc/stargazer/OnDisconnect diff --git a/projects/stargazer/inst/linux/etc/stargazer/OnDisconnect b/projects/stargazer/inst/linux/etc/stargazer/OnDisconnect deleted file mode 100755 index 64a6c519..00000000 --- a/projects/stargazer/inst/linux/etc/stargazer/OnDisconnect +++ /dev/null @@ -1,23 +0,0 @@ -#! /bin/sh - -# About: This script is called when the user wants to disconnect or authorization timeout has passed. -# Common task: Rebuild firewall to disallow user to access the Internet. -# Priority: required - -# User login -LOGIN=$1 - -# User IP -IP=$2 - -# User cash -CASH=$3 - -# User ID -ID=$4 - -# Selected DIRs (from rules file) to disconnect -DIRS=$5 - -# Usage examples: -#echo "Disconnected `date +%Y.%m.%d-%H.%M.%S` $IP $CASH" >> /var/stargazer/users/$LOGIN/connect.log