regluit/selenium/xvfb

15 lines
161 B
Plaintext
Raw Normal View History

2012-01-26 17:42:47 +00:00
if [ -z "$1" ]; then
echo "`basename $0` {start|stop}"
exit
fi
case "$1" in
start)
/usr/bin/Xvfb :99 -ac -screen 0 2048x2048x8 &
2012-01-26 17:42:47 +00:00
;;
stop)
killall Xvfb
;;
esac