Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- This is a set of customizations to daughter machine that should eventually be combined into setup script
- make sure time-zone is boston
- make sure time-zone does not automatically update
- add beeping script (add to /etc/init and sudo update-rc.d beep-symphony defaults)
- modify grub to disable gui (change splash to text)
- add simple startx script to home
- #! /bin/sh
- ### BEGIN INIT INFO
- # Provides: tomcat
- # Required-Start: $remote_fs $syslog
- # Required-Stop: $remote_fs $syslog
- # Default-Start: 2 3 4 5
- # Default-Stop: 0 1 6
- # Short-Description: Tomcat
- # Description: This file starts and stops Tomcat server
- #
- ### END INIT INFO
- case "$1" in
- start)
- beep -l 200 -f 1000
- for x in 1 2 3
- do
- beep -l 100 -f 100
- beep -l 100 -f 5000
- done
- ;;
- stop)
- for x in 1 2 3
- do
- beep -l 100 -f 100
- beep -l 100 -f 5000
- done
- beep -l 1000 -f 200
- ;;
- restart)
- ;;
- *)
- echo "Usage: beep-symphony {start|stop|restart}" >&2
- exit 3
- ;;
- esac
- sudo service lightdm start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement