diff options
author | James Meyer <james.meyer@operamail.com> | 2011-11-06 22:08:43 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2011-11-06 22:08:43 (GMT) |
commit | 7b658e2f4f9fa8c3cffa92a2359d904c30709598 (patch) | |
tree | 13c653c0fb35a44c2619b97c4579667bb8a3ff93 /abs/core/mythtv/old/stable-0.22/mythtv/mythbackend | |
parent | df96ab68ee288fd64c74b3e4957dc80669b9933d (diff) | |
download | linhes_pkgbuild-7b658e2f4f9fa8c3cffa92a2359d904c30709598.zip linhes_pkgbuild-7b658e2f4f9fa8c3cffa92a2359d904c30709598.tar.gz linhes_pkgbuild-7b658e2f4f9fa8c3cffa92a2359d904c30709598.tar.bz2 |
remove old mythtv builds.
Diffstat (limited to 'abs/core/mythtv/old/stable-0.22/mythtv/mythbackend')
-rwxr-xr-x | abs/core/mythtv/old/stable-0.22/mythtv/mythbackend | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/abs/core/mythtv/old/stable-0.22/mythtv/mythbackend b/abs/core/mythtv/old/stable-0.22/mythtv/mythbackend deleted file mode 100755 index 93773a2..0000000 --- a/abs/core/mythtv/old/stable-0.22/mythtv/mythbackend +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/bin/mythbackend` -case "$1" in - start) - stat_busy "Starting MythTV Backend" - [ ! -e /var/run/mysqld.pid ] && echo -n "mysqld not started" && stat_fail && exit - [ -z "$PID" ] && /usr/bin/mythbackend -d -l /var/log/mythbackend.log -v important - if [ $? -gt 0 ]; then - stat_fail - else - echo $PID > /var/run/mythbackend.pid - add_daemon mythbackend - stat_done - fi - ;; - stop) - stat_busy "Stopping MythTV Backend" - [ ! -z "$PID" ] && kill $PID &>/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon mythbackend - stat_done - fi - ;; - restart) - $0 stop - sleep 1s - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 |