Search:
Browse Source
Home
Download
Documentation
Community
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
3
count
=
0
4
5
while
[
"$count"
-le
"3"
]
6
do
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
))
13
done
14
15
shutdown -h now
Download in other formats:
Original Format