Thanks for reporting this bug and proposing a patch.  I notice that in
raring, a shorter patch was used to implement status.  Does the
following patch work for you in precise?

--- debian/backuppc.init        2013-01-17 20:20:25.000000000 +0000
+++ /home/ubuntu/backuppc-3.2.1/debian/backuppc.init    2013-01-17 
20:19:36.000000000 +0000
@@ -81,11 +81,8 @@ case "$1" in
                            --signal 1
     log_end_msg $?
     ;;
-  status)
-    status_of_proc "$BINDIR/$DAEMON" "$NAME" && exit 0 || exit $?
-    ;;
   *)
-    log_success_msg "Usage: /etc/init.d/$NAME 
{start|stop|restart|reload|status}"
+    log_success_msg "Usage: /etc/init.d/$NAME {start|stop|restart|reload}"
     exit 1
     ;;
 esac


** Changed in: backuppc (Ubuntu)
   Importance: Undecided => Low

** Changed in: backuppc (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1100857

Title:
  Init script does not support status command

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/backuppc/+bug/1100857/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to