]> git.stg.codes - stg.git/blobdiff - projects/stargazer/inst/linux/etc/stargazer/OnUserAdd
Merge branch 'stg-2.409-radius'
[stg.git] / projects / stargazer / inst / linux / etc / stargazer / OnUserAdd
index 22d321cc02300c89c7a566e897efa07fbd4a56bc..2dcc0562fca25a067daf5e14b961b9ab73d24fc4 100755 (executable)
@@ -1,14 +1,12 @@
 #! /bin/sh
 
-# Использование (неиспользование) этого скрипта дело вкуса.
-# Он не выполняет критических функций. Его задача автматизировать
-# действия характерные при добавлении пользователя сети, например добавлекние 
-# пользователю почты
-
-# Login
-login=$1
-
-#echo "added user $login" >> /var/stargazer/add_del.log
-
+# About: This script is called when the user is added to the Stargazer.
+# Common task: Automate typical actions on adding user to the network,
+#              such as creating email or IM account.
+# Priority: optional
 
+# User login
+LOGIN=$1
 
+# Usage examples:
+#echo "Added user $login" >> /var/stargazer/add_del.log
\ No newline at end of file