Fixes bug #3.

This commit is contained in:
Kolan Sh 2012-01-25 00:04:58 +04:00
parent fc23543148
commit 9c5ee144a1
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ start() {
export LD_LIBRARY_PATH=/usr/lib/opengl/nvidia/lib:/usr/lib/opengl/nvidia/lib
start-stop-daemon --start --quiet --background --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_ARGS
status=$?
for i in `seq 3`; do snail.nvstat >/dev/null && break; sleep 1; done
(nohup snail.autostop &>/dev/null)&
eend $status
}