Files
Chia-Che Tsai f7532bbc0d - Fix calling convention issues in the glibc 2.19 patch
- 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
2018-08-13 09:50:01 -04:00

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