diff options
Diffstat (limited to 'configs/bbb/pvrinit')
-rwxr-xr-x | configs/bbb/pvrinit | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/configs/bbb/pvrinit b/configs/bbb/pvrinit new file mode 100755 index 0000000..2a1beab --- /dev/null +++ b/configs/bbb/pvrinit @@ -0,0 +1,23 @@ +#!/sbin/runscript +# add to default runlevel to load SGX drivers + + +depend() { + need localmount + after bootmisc modules +} + +start() { + ebegin "Starting PVR" + + eval modprobe -q pvrsrvkm + + if [ -f /usr/local/bin/pvrsrvctl ] ; then + /usr/local/bin/pvrsrvctl --start --no-module + + eval modprobe -q omaplfb + fi + eend $? +} + + |