summaryrefslogtreecommitdiffstats
path: root/projects/libertos-c3/etc/init.d/rtnet
diff options
context:
space:
mode:
Diffstat (limited to 'projects/libertos-c3/etc/init.d/rtnet')
-rwxr-xr-xprojects/libertos-c3/etc/init.d/rtnet38
1 files changed, 0 insertions, 38 deletions
diff --git a/projects/libertos-c3/etc/init.d/rtnet b/projects/libertos-c3/etc/init.d/rtnet
deleted file mode 100755
index 58a074521..000000000
--- a/projects/libertos-c3/etc/init.d/rtnet
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/sh
-
-RTNET_DRIVERS=/lib/modules/`uname -r`/kernel/drivers/rtnet
-
-case $1 in
-
- start)
- echo "loading RTnet modules..."
- if [ -e $RTNET_DRIVERS/rtdm.o ]; then
- insmod $RTNET_DRIVERS/rtdm.o
- else
- echo "could not load rtdm.o"
- exit -1;
- fi
- if [ -e $RTNET_DRIVERS/rtnet.o ]; then
- insmod $RTNET_DRIVERS/rtnet.o
- else
- echo "could not load rtnet.o"
- rmmod rtdm.o
- exit -1;
- fi
- echo "done"
- exit 0;
- ;;
-
- stop)
- echo "unloading RTNet modules..."
- rmmod rtnet.o
- rmmod rtdm
- echo "done"
- exit 0;
- ;;
- *)
- echo "usage: $0 [start|stop]"
- ;;
-esac
-
-