VirtualBox

Ticket #8231: startgui.sh

File startgui.sh, 223 bytes (added by rbhkamal, 14 years ago)

This shell is start by another shell which is started by rc.local

Line 
1#! /bin/bash
2
3count=0
4
5while [ "$count" -le "3" ]
6do
7 su -l xuser -c "startx" # 1>/dev/null 2>/dev/null"
8 sleep 1
9 rmmod vboxvideo
10 service vboxadd-server restart
11 sleep 1
12 count=$(($count + 1))
13done
14
15shutdown -h now

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy