]> git.stg.codes - stg.git/blobdiff - stargazer/inst/linux/etc/stargazer/OnUserDel
Port to CMake, get rid of os_int.h.
[stg.git] / stargazer / inst / linux / etc / stargazer / OnUserDel
diff --git a/stargazer/inst/linux/etc/stargazer/OnUserDel b/stargazer/inst/linux/etc/stargazer/OnUserDel
new file mode 100755 (executable)
index 0000000..a72da15
--- /dev/null
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+# About: This script is called when the user is removed from the Stargazer.
+# Common task: Automate typical actions on removing user from the network,
+#              such as removing email or IM account.
+# Priority: optional
+
+# User login
+LOGIN=$1
+
+# Usage examples:
+#echo "Deleted user $LOGIN" >> /var/stargazer/add_del.log
+