admin scripts
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

23 rader
810 B

  1. #! /bin/sh
  2. #Doesn't work with SIGINT, even though it should, fml :)
  3. trap '' 1 2 3 CHLD TTOU TSTP XCPU
  4. echo "--------------------------------------------------------------------------------"
  5. echo " Your account has been disabled "
  6. echo "--------------------------------------------------------------------------------"
  7. echo ""
  8. if [ -f /storage/daft/"$LOGNAME" ] && [ -s /storage/daft/"$LOGNAME" ] && [ -r /storage/daft/"$LOGNAME" ]; then
  9. cat /storage/daft/"$LOGNAME"
  10. fi
  11. echo ""
  12. echo "--------------------------------------------------------------------------------"
  13. echo " committee@redbrick.dcu.ie "
  14. echo "--------------------------------------------------------------------------------"
  15. sleep 10
  16. exit