From 6db5091d8f88fbe116fd8414b25b8f5b9803b307 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Fri, 16 Nov 2007 13:19:15 +1300 Subject: [PATCH] We no longer need to install mythtv-update-motd on Debian as it isn't used there. Also, update the init script to use the updated $DAEMON removing all mention of mythtv-update-motd from the init script. --- debian/init.d | 11 +++++------ debian/install | 1 - 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/debian/init.d b/debian/init.d index 56202de..3012c80 100644 --- a/debian/init.d +++ b/debian/init.d @@ -36,10 +36,10 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin -DAEMON=/usr/sbin/mythtv-update-motd # Introduce the server's location here -NAME=mythtv-status # Introduce the short server's name here -DESC="MythTV Status" # Introduce a short description here -LOGDIR=/var/log/mythtv-status # Log directory to use +DAEMON=/usr/bin/mythtv-status # Introduce the server's location here +NAME=mythtv-status # Introduce the short server's name here +DESC="MythTV Status" # Introduce a short description here +LOGDIR=/var/log/mythtv-status # Log directory to use test -x $DAEMON || exit 0 test -x $DAEMON_WRAPPER || exit 0 @@ -72,11 +72,10 @@ case "$1" in cp /var/run/motd.orig /var/run/motd.new - if mythtv-status -h $HOST >> /var/run/motd.new + if $DAEMON -h $HOST >> /var/run/motd.new then mv /var/run/motd.new /var/run/motd fi - #$DAEMON log_end_msg 0 ;; stop) diff --git a/debian/install b/debian/install index 0decc1e..f360307 100644 --- a/debian/install +++ b/debian/install @@ -1,2 +1 @@ bin/mythtv-status usr/bin -bin/mythtv-update-motd usr/share/mythtv-status -- 2.30.2