Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. This is a set of customizations to daughter machine that should eventually be combined into setup script
  2.  
  3. make sure time-zone is boston
  4. make sure time-zone does not automatically update
  5.  
  6. add beeping script (add to /etc/init and sudo update-rc.d beep-symphony defaults)
  7. modify grub to disable gui (change splash to text)
  8.  
  9. add simple startx script to home
  10.  
  11.  
  12.  
  13. #! /bin/sh
  14. ### BEGIN INIT INFO
  15. # Provides: tomcat
  16. # Required-Start: $remote_fs $syslog
  17. # Required-Stop: $remote_fs $syslog
  18. # Default-Start: 2 3 4 5
  19. # Default-Stop: 0 1 6
  20. # Short-Description: Tomcat
  21. # Description: This file starts and stops Tomcat server
  22. #
  23. ### END INIT INFO
  24.  
  25.  
  26. case "$1" in
  27. start)
  28. beep -l 200 -f 1000
  29. for x in 1 2 3
  30. do
  31. beep -l 100 -f 100
  32. beep -l 100 -f 5000
  33. done
  34.  
  35. ;;
  36. stop)
  37. for x in 1 2 3
  38. do
  39. beep -l 100 -f 100
  40. beep -l 100 -f 5000
  41. done
  42. beep -l 1000 -f 200
  43. ;;
  44. restart)
  45. ;;
  46. *)
  47. echo "Usage: beep-symphony {start|stop|restart}" >&2
  48. exit 3
  49. ;;
  50. esac
  51.  
  52.  
  53. sudo service lightdm start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement