#!/bin/sh echo "Waiting five seconds before creating screenshot..." sleep 5 scap.bin 800 600 < /dev/fb0 > /tmp/scrshot.ppm echo "Finished, use ppmtogif or ppmtojpeg to convert this file." echo "output is located in /tmp/scrshot.ppm"