diff options
Diffstat (limited to 'etc/rc.d/init.d/tlp')
-rwxr-xr-x | etc/rc.d/init.d/tlp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/etc/rc.d/init.d/tlp b/etc/rc.d/init.d/tlp deleted file mode 100755 index 6c5f9a7c..00000000 --- a/etc/rc.d/init.d/tlp +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh -. /lib/lsb/init-functions - -case "${1}" in - start) - log_info_msg "Starting tlp..." - if ! pidofproc daemon_name_as_reported_by_ps >/dev/null; then - /usr/sbin/tlp init start - fi - evaluate_retval - ;; - - stop) - log_info_msg "Stopping..." - if pidofproc daemon_name_as_reported_by_ps >/dev/null; then - /usr/sbin/tlp init stop - fi - evaluate_retval - ;; - - restart) - ${0} stop - sleep 1 - ${0} start - ;; - - *) - echo "Usage: ${0} {start|stop|restart}" - exit 1 - ;; -esac - -exit 0 |