]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
Update the molly-guard related bits reflecting Martin Krafft's released 0.4 version.
authorAndrew Ruthven <andrew@etc.gen.nz>
Sat, 19 Apr 2008 19:12:27 +0000 (07:12 +1200)
committerAndrew Ruthven <andrew@etc.gen.nz>
Sat, 19 Apr 2008 19:12:27 +0000 (07:12 +1200)
debian/install
molly-guard/mythtv-recording-soon

index 7eaaa8cbde50972ebc6c0b8dd126abab73a7ba49..0e5ba02fea1b4d6a730316131c561ac67a2cc091 100644 (file)
@@ -1,4 +1,4 @@
 bin/mythtv-status usr/bin
 bin/mythtv_recording_now usr/bin
 bin/mythtv_recording_soon usr/bin
-molly-guard/mythtv-recording-soon usr/share/molly-guard/checks.d/40-mythtv-recording-now
+molly-guard/mythtv-recording-soon etc/molly-guard/run.d/40-mythtv-recording-now
index f9604bc2cb2df4b183ff39a8d6faafceaa654764..d241dd8a25a445bbf1cb386f7e17d6843d7bcc42 100755 (executable)
@@ -3,7 +3,7 @@
 ME=molly-guard
 
 if [ ! -f /usr/bin/mythtv_recording_soon ]; then
-  echo "I: I can't find /usr/bin/mythtv_recording_soon, skipping check"
+  echo "I: I can't find /usr/bin/mythtv_recording_soon, skipping check" >&2
   exit 0;
 fi
 
@@ -11,14 +11,14 @@ HOSTNAME="$(hostname --short)"
 
 sigh()
 {
-  echo "Good thing I asked; I won't $CMD $HOSTNAME ..."
+  echo "Good thing I asked; I won't $MOLLYGUARD_CMD $HOSTNAME ..." >&2
   exit 1
 }
 
 
 if /usr/bin/mythtv_recording_soon; then
   trap 'echo;sigh' 1 2 3 9 10 12 15
-  echo -n "MythTV is either recording now, or will be soon. Type YES to $CMD: "
+  echo -n "MythTV is either recording now, or will be soon. Type YES to $MOLLYGUARD_CMD: "
   read CONFIRM || :
 
   [ $(echo "x$CONFIRM" | tr 'A-Z' 'a-z') = "xyes" ] || sigh