mirror of
https://github.com/clearlinux/graphene.git
synced 2026-09-06 22:01:29 +00:00
- Port gipc module to Linux kernel 4.3 - Simplify PAL signal handling - Fix bug #4 (epoll-related syscalls) - Fix bug #10 - Fix bug #14 - Merge pull request #18
13 lines
338 B
Bash
Executable File
13 lines
338 B
Bash
Executable File
#!/bin/sh
|
|
|
|
MOD=graphene-ipc
|
|
MODNAME=graphene_ipc
|
|
|
|
(/sbin/lsmod | grep -q $MODNAME) && \
|
|
((echo "unloading $MODNAME..."; /sbin/rmmod $MODNAME) || exit 1) || continue
|
|
|
|
# invoke insmod with all arguments we got
|
|
# and use a pathname, as newer modutils don't look in . by default
|
|
echo "loading $MODNAME..."
|
|
/sbin/insmod ./$MOD.ko $* || exit 1
|