diff options
author | Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> | 2009-10-26 20:21:04 +0100 |
---|---|---|
committer | Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> | 2009-10-26 20:21:04 +0100 |
commit | 6df5a87a7013aabd1432ec47f9274e25d79975f5 (patch) | |
tree | bca00010560b778931f37f776762907f30f4a488 /recipes/sgalib/files | |
parent | 764574e16f87d2882f691a3d9cd8799ab67c1344 (diff) |
sgalib: NHK-15 library for userspace access to graphics acceleration
Diffstat (limited to 'recipes/sgalib/files')
-rw-r--r-- | recipes/sgalib/files/sga-init | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/sgalib/files/sga-init b/recipes/sgalib/files/sga-init new file mode 100644 index 0000000000..3a7d4031af --- /dev/null +++ b/recipes/sgalib/files/sga-init @@ -0,0 +1,23 @@ +#!/bin/sh + +case "$1" in + start) + test -f /dev/SGA/ || mknod /dev/SGA c 254 0 + ;; + + stop) + ;; + + restart) + $0 stop + sleep 1 + $0 start + ;; + + *) + echo "usage: $0 { start | stop | restart }" + ;; +esac + +exit 0 + |