Initial import of kqemu-1.4.0pre1
[kqemu.git] / install.sh
blob8e0bc92f8463ae5b69ba567abb503933bcd41a9b
1 #!/bin/sh
2 # Installer for the kqemu module
3 set +e
5 # Find module name
6 if [ -f kqemu.ko ] ; then
7 module=kqemu.ko
8 else
9 module=kqemu.o
12 # Find kernel install path
13 kernel_path="/lib/modules/`uname -r`"
15 mkdir -p "$kernel_path/misc"
16 cp "$module" "$kernel_path/misc"
18 /sbin/depmod -a