Skip to content

Instantly share code, notes, and snippets.

/99-myfile.conf Secret

Created December 4, 2016 12:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/22fcfe47249d3f53cc95cce0131645e3 to your computer and use it in GitHub Desktop.
Save anonymous/22fcfe47249d3f53cc95cce0131645e3 to your computer and use it in GitHub Desktop.
# /etc/lightdm/lightdm.conf.d/99-myfile.conf
[Seat:*]
session-cleanup-script=testing-logoff-script2
# /usr/local/bin/testing-logoff-script2
#!/bin/bash
echo "`date`: ---------------- running logoff script ----------------" >> "$HOME"/test-logoff-script.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment