summaryrefslogtreecommitdiff
path: root/recipes/trdx-config/files/nvrm_daemon
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/trdx-config/files/nvrm_daemon')
-rwxr-xr-xrecipes/trdx-config/files/nvrm_daemon37
1 files changed, 0 insertions, 37 deletions
diff --git a/recipes/trdx-config/files/nvrm_daemon b/recipes/trdx-config/files/nvrm_daemon
deleted file mode 100755
index c3a9268..0000000
--- a/recipes/trdx-config/files/nvrm_daemon
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-#
-# Start or stop the Nvidia Ressource Manager Daemon.
-#
-# Based on debian apmd scripts
-
-PATH=/bin:/usr/bin:/sbin:/usr/sbin
-
-[ -f /etc/default/rcS ] && . /etc/default/rcS
-
-case "$1" in
- start)
- echo -n "Nvidia Ressource Manager Daemon: "
- start-stop-daemon -S -x /bin/nvrm_daemon -- --daemon &
- if [ $? = 0 ]; then
- echo "nvrm_daemon."
- else
- echo "(failed.)"
- fi
- ;;
- stop)
- echo -n "Nvidia Ressource Manager Daemon: "
- start-stop-daemon -K -x /bin/nvrm_daemon
- echo "nvrm_daemon."
- ;;
- restart|force-reload)
- $0 stop
- $0 start
- exit
- ;;
- *)
- echo "Usage: /etc/init.d/nvrm_daemon {start|stop|restart|force-reload}"
- exit 1
- ;;
-esac
-
-exit 0