admin scripts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 regels
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