summaryrefslogtreecommitdiff
path: root/recipes/sgalib/files/sga-init
blob: 3a7d4031afa414c7d0e87c429b33135cc5f949ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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