Don't like ads? PRO users don't see any ads ;-)
Guest

Skript1

By: a guest on Apr 28th, 2012  |  syntax: Bash  |  size: 1.05 KB  |  hits: 24  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #!/bin/bash
  2.  
  3. if [ "True" != "$LTSP_CONFIG" ]; then
  4.     . usr/share/ltsp/ltsp_config
  5. fi
  6.  
  7. # chvt to the right screen
  8. [ -n "${SCREEN_NUM}" ] && openvt chvt ${SCREEN_NUM}
  9.  
  10. # Clear the screen, to place cursor at the top
  11. clear
  12.  
  13. if [ -z `ls / | grep blender` ]; then
  14.         echo "Fatal Error: NFS Share funktioniert nicht! /blend ist nicht gemountet!";
  15.         sleep 100;
  16. fi
  17.  
  18. #ip_adress=$(ifconfig | grep "inet Adresse" | awk '{ print $2}' | cut -d ":" -f 2 | head -n 1)
  19.  
  20. /blender/render.sh
  21. #htop
  22. ~                                                                                                                                    
  23. ~                                                                                                                                    
  24. ~                                                                                                                                    
  25. ~                                                                                                                                    
  26. ~